Archive for the ‘MySQL’ Category

MySQL Dyld error.

Tuesday, October 16th, 2007

Apparently dyld errors happen with lots o’ packages (though I’m still not 100% on what the root cause is…..JFGI).

I most recently got one of these loading MySQL into a new apache2 install on OS X (10.4). I, and by I I really mean Gabe, was able to fix it with a little symlink action, thus:

/usr/local/mysql/lib/mysql root# ln -s ../libmysqlclient.15.dylib

links the .dylib from the parent directory to the /mysql dir where it was looking for it, and gives us

/usr/local/mysql/lib/mysql root# file libmysqlclient.15.dylib
libmysqlclient.15.dylib: symbolic link to `../libmysqlclient.15.dylib'

The End.

Refs:

Original source is post #13 here: http://www.railsforum.com/viewtopic.php?pid=24070