Monday, April 23, 2012

If you're on a non-upgraded x64 version of Lion don't use Homebrew to install MySQL

At least for me I couldn't get gem install mysql or gem install mysql2 to compile. Kept bitching about missing header files and the like. Instead use this .dmg http://dev.mysql.com/downloads/mysql/

2 comments:

  1. if after this you get: Library not loaded: libmysqlclient.18.dylib

    run

    sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib

    ReplyDelete
  2. Make sure you install the developer release, should have something like "m-11" in the filename

    ReplyDelete