January 01, 2006 17:59
Posted by Jeremy Durham
OSX, Rails, and Locomotive
If you’re attempting to get Rails running on the Mac, do one of the following:
- Use Locomotive (This is the preferred way)
- Use This great how-to and install it manually. This will require things like the developer tools.
If I was only going to change one thing about this great how-to, it’s that if you try to build the mysql native buildings again mysql 64-bit, it will NOT work. The error will be:
@ /usr/bin/ld: truncated or malformed archive: /usr/local/mysql/lib/libmysqlclient.a (ranlib structures in table of contents extends past the end of the table of contents, canŐt load from it) @
Fix this by running:
- @ ranlib /usr/local/mysql/lib/libmysqlclient.a @
- installing the 32-bit version of mysql and building the bindings with that.
either of these should work.









0 Comments
Leave a comment