error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file

If you're running a DA server, recently updated mysql to version 5.1, you'll still need your old libmysqlclient.so files from mysql 5.0.

This would be the error you're seeing:

[root@server directadmin]# service directadmin restart
Stopping DirectAdmin: [FAILED]
Starting DirectAdmin: /usr/local/directadmin/directadmin: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory [FAILED]

To resolve the issue, simply grab the old libmysqlclient.so.15 file from our server.

Example, for CentOS 5 - 64-bit, run:

wget -O /usr/lib64/libmysqlclient.so.15 http://files.directadmin.com/services/es_5.0_64/libmysqlclient.so.15
chmod 755 /usr/lib64/libmysqlclient.so.15
ldconfig

On non-64-bit systems, the file would go into /usr/lib/libmysqlclient.so.15

 
trouble/shared_libraries.txt · Last modified: 2010/02/22 05:54 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki