On my leopard with ports installed mysql I need to run sudo gem install mysql -- --with-mysql-config=`which mysql_config5`
After this, I started to get an error:dyld: lazy symbol binding failed: Symbol not found: _mysql_initI needed to run the following to fix it:sudo env ARCHFLAGS="-arch x86_64" gem install -V mysql -- --with-mysql-include=/usr/local/mysql/include/ --with-mysql-lib=/usr/local/mysql/lib --with-mysql-config=/usr/local/mysql/bin/mysql_config --with-mysql-dir=/usr/local/mysqlThis comes from here:http://blog.bmn.name/2008/02/issues-with-mysql-27-gem/Good times...
Post a Comment
3 comments:
On my leopard with ports installed mysql I need to run
sudo gem install mysql -- --with-mysql-config=`which mysql_config5`
After this, I started to get an error:
dyld: lazy symbol binding failed: Symbol not found: _mysql_init
I needed to run the following to fix it:
sudo env ARCHFLAGS="-arch x86_64" gem install -V mysql -- --with-mysql-include=/usr/local/mysql/include/ --with-mysql-lib=/usr/local/mysql/lib --with-mysql-config=/usr/local/mysql/bin/mysql_config --with-mysql-dir=/usr/local/mysql
This comes from here:
http://blog.bmn.name/2008/02/issues-with-mysql-27-gem/
Good times...
Post a Comment