June 18, 2007 5:06pm
I'm trying to build PHP against the MySQL supplied binary on my Mac mini running 10.4.9. For some reason it's looking in the wrong place for libraries, so I get the following error:/usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
Referenced from: /Users/michael/build/php-5.2.3/sapi/cli/php
Reason: image not found
/usr/local/mysql/lib exists and contains the libraries. It seems like a horrible fix but the following "fixes" the problem:
sudo ln -s /usr/local/mysql/lib /usr/local/mysql/lib/mysql