Faqts : Computers : Programming : Shopping For You : PHP : Common Problems : Errors

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

14 of 52 people (27%) answered Yes
Recently 5 of 10 people (50%) answered Yes


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 
when building PHP. If it has "--with-mysql" then this will make only 
static library. Recompile PHP with something like 
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 
From [email protected] 
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: