About this question

Answers: 1

User answered: 1

Total Votes: 0

Question from John

John

Mysql2 Gem problem on MacOS Snow Leopard

Mysql2 gem installs fine but when i try to start the server..
Using MYSQL Server 5.1

Library not loaded: libmysqlclient.16.dylib (LoadError)  Referenced from: /Library/Ruby/Gems/1.8/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle
Asked 9 months ago

Answers

Photo
0
Fixed a similar problem I had with this line:

sudo install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib ~/.rvm/gems/ruby-1.9.2-p136/gems/mysql2-0.2.7/lib/mysql2/mysql2.bundle

Answered 9 months ago