When I visit the qmailadmin URL that I've always used I get a 500 internal server error. Error log says

/usr/share/qmailadmin/index.cgi: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory

So I'm tracing my steps and following various forum threads on the topic, trying things like removing and recreating the symlinks in /usr/lib/mysql, running ldconfig, restarting Apache, blah, blah, blah. Nothing works. Restarts for qmailtoaster, Apache, and MySQL all fine. Can login to mysql, can use command line commands for vpopmail, I don't get it.

What has changed? Upgrade Webmin. Also, it is possible I've screwed up /etc/group when I added apache as a member of the new group, but I scrolled back and diff'd the contents of /etc/group and no difference. Upgraded qmailadmin while I was at it, no problems.

ld.so.conf.d/mysql-i386.conf says to include /usr/lib/mysql. Here are the contents of that dir:

-rwxr-xr-x  1 root root    5421 Dec 18  2007 mysql_config
-rwxr-xr-x  1 root root   11555 Dec 18  2007 mysqlbug
-rw-r--r--  1 root root  318772 Dec 18  2007 libmysys.a
-rw-r--r--  1 root root 1640514 Dec 18  2007 libmysqlclient_r.a
-rw-r--r--  1 root root   30466 Dec 18  2007 libmyisammrg.a
-rw-r--r--  1 root root  373280 Dec 18  2007 libmyisam.a
-rw-r--r--  1 root root   50492 Dec 18  2007 libheap.a
-rw-r--r--  1 root root   17510 Dec 18  2007 libvio.a
-rw-r--r--  1 root root 1359406 Dec 18  2007 libmystrings.a
-rwxr-xr-x  1 root root 1444188 Dec 18  2007 libmysqlclient.so.15.0.0
-rwxr-xr-x  1 root root 1450532 Dec 18  2007 libmysqlclient_r.so.15.0.0
-rw-r--r--  1 root root 1631912 Dec 18  2007 libmysqlclient.a
-rw-r--r--  1 root root   11976 Dec 18  2007 libdbug.a
drwxr-xr-x 63 root root   16384 May 22 04:02 ..
lrwxrwxrwx 1 root root 24 Oct 25 12:00 libmysqlclient.so.15 -> libmysqlclient.so.15.0.0 lrwxrwxrwx 1 root root 26 Oct 25 12:01 libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0 lrwxrwxrwx 1 root root 24 Oct 25 12:01 libmysqlclient.so -> libmysqlclient.so.15.0.0 lrwxrwxrwx 1 root root 26 Oct 25 12:01 libmysqlclient_r.so -> libmysqlclient_r.so.15.0.0
drwxr-xr-x  2 root root    4096 Oct 25 12:14 .

ldconfig -v |grep libmysqlclient shows

       libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
       libmysqlclient.so.15 -> libmysqlclient.so.15.0.0

ldd /usr/share/qmailadmin/index.cgi |grep libmysql shows

libmysqlclient.so.15 => /usr/lib/mysql/libmysqlclient.so.15 (0x005b9000)

Any clues appreciated.

John



---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to