Hello,
Good that you've found a working solution!
> Under OSX the MySQL libs are installed in /usr/local/mysql/lib
It's worth noticing that although that may be correct for some
packaged distributions, for example from the MySQL company too, that
an installation from Source Code DOES install the
The problem seems to be with the paths of the OSX MySQL installation
and the paths that the PHP MySQL libraries are looking for.
Under OSX the MySQL libs are installed in /usr/local/mysql/lib
however the PHP MySQL module expects the MySQL shared libraries at /
usr/local/mysql/lib/mysql
What
Since it seems with your configure,
./configure --with-apxs2=/app/apache2/bin/apxs --without-pear --
with-config-file-path=/app/ini --with-mysql=/usr/local/mysql
that you're not building only for mysql extension and not for
PDO/mysql, you will see in your config.log,
dyld: Library not loaded: /