« First Impressions: MacBook Pro 15" Uni-body | Main | MySQL 64-bit, Ruby 32-bit, Friends Again »

October 20, 2008

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e552517e3788340105359b3ddf970c

Listed below are links to weblogs that reference Leopard, 64-bit MySql, 32-bit Ruby, World of Pain:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Timothy  Harper

The trouble here (as far as I understand) is ruby is 32-bit, so it can't link against the 64 bit libraries.

The closest thing to a solution that I've come up with is to build the mysql gem against 32 bit drivers, and then copy them over to the new machine, along with the supporting lib files in /usr/local/mysql/lib

Here's the prebuilt mysql gem:

http://www.mediafire.com/?kynzm0ntnqm

You'll need the files from the 32-bit mysql 5.0 client library files. Put them in /usr/local/mysql/lib

This way, you can run the 64 bit server, but still use the 32 bit ruby gem.

Hope that helps

Josh Goebel

Would that not have the side effect of hosing my local MySQL binaries since they will have been linked against the 64-bit libs that are expected to be in /usr/local/mysql/lib?

The comments to this entry are closed.

About the Author

Rails and Ruby Projects

Legal Stuff

  • The opinions I state here are my own and do not necessarily reflect the opinions of my clients, friends, lovers, employers, employees or anyone else.

    Copyright © 2008-2009 Josh Goebel. All rights reserved.