I just upgraded to Mac OSX Snow Leopard, and recompiled mysql (5.1.39) with the Snow Leopard XCode. I also reinstalled the latest mysql gem.
Now, when running
rake db:migrate
in a rails app, I get
dyld: NSLinkModule() error
dyld: Library not loaded: /usr/local/mysql/lib/libmysqlclient.15.dylib
Referenced from: /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/mysql.bundle
Reason: image not found
Trace/BPT trap
I have /usr/local/mysql/lib/libmysqlclient.16.dylib, but not ...15.dylib.
Do I need to use an earlier version of mysql?