tag:blogger.com,1999:blog-8165836686903791425.post2410012112739388224..comments2023-11-05T04:48:48.364-08:00Comments on Technical Notes and Stuff Happening: gem install mysql mac osx leopardBenhttp://www.blogger.com/profile/12840311877667414184noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8165836686903791425.post-16857926130099181102008-12-26T12:38:00.000-08:002008-12-26T12:38:00.000-08:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8165836686903791425.post-14417359058281509552008-10-17T11:24:00.000-07:002008-10-17T11:24:00.000-07:00After this, I started to get an error:dyld: lazy s...After this, I started to get an error:<BR/><BR/>dyld: lazy symbol binding failed: Symbol not found: _mysql_init<BR/><BR/>I needed to run the following to fix it:<BR/><BR/>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<BR/><BR/>This comes from here:<BR/><BR/>http://blog.bmn.name/2008/02/issues-with-mysql-27-gem/<BR/><BR/>Good times...Mark Swardstromhttps://www.blogger.com/profile/13422017508414965589noreply@blogger.comtag:blogger.com,1999:blog-8165836686903791425.post-79369728842633450222008-08-06T14:06:00.000-07:002008-08-06T14:06:00.000-07:00On my leopard with ports installed mysql I need to...On my leopard with ports installed mysql I need to run <BR/><BR/>sudo gem install mysql -- --with-mysql-config=`which mysql_config5`Anonymousnoreply@blogger.com