Entry
Unable to load dynamic library mysql.so - libmysqlclient.so.10 - Why??
May 7th, 2004 11:28
Davide Rambaldi, Jaz Brown, John,
PHP may not have been compiled to make a shared version of its MySQL
library. Look at the output from phpinfo() at the Configure Command
used
when building PHP. If it has "--with-mysql" then this will make only
the
static library. Recompile PHP with something like
"--with-mysql=shared,/usr".
Do a "locate mysql.so" or "find / -name mysql\.so" to check for the
existance of mysql.so on your system. In my case, it's stored in
"/usr/lib/php/extensions/no-debug-non-zts-20020429/mysql.so".
From tucano@recipient.cc
The problem could be libmysqlclient.so (shared library)
1. 'locate libmysqlclient.so.X'
2 The easy way "cp libmysqlclient.so.X /usr/lib/"
see also:
http://dev.mysql.com/doc/mysql/en/Source_notes-Linux.html