[TriLUG] libmysqlclient.so.15 error

Mark Fowle via TriLUG trilug at trilug.org
Fri Aug 14 10:05:17 EDT 2015


Has anyone run into this before, I just installed Centos 5.11 and apps such
as httpd, php, dovcot and even postfix all complain about this library.
I've seen lots of info on google but nothing specific on how to fix it -

Here's an example:  I reinstalled postfix

postfix-2.3.3-7.el5.x86_64.rpm
                                                         | 3.8 MB     00:04

Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : postfix

1/1
/usr/sbin/postfix: error while loading shared libraries:
libmysqlclient.so.15: cannot open shared object file: No such file or
directory

Installed:
  postfix.x86_64 2:2.3.3-7.el5



Complete!
[root at tips5100 ~]# yum whatprovides libmysqlclient.so.15
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.beyondhosting.net
 * extras: mirror.beyondhosting.net
 * updates: mirror.beyondhosting.net
mysql-5.0.95-5.el5_9.i386 : MySQL client programs and shared libraries
Repo        : base
Matched from:
Other       : libmysqlclient.so.15



mysql-5.0.95-5.el5_9.i386 : MySQL client programs and shared libraries.
Repo        : installed
Matched from:
Other       : Provides-match: libmysqlclient.so.15


The library is there:

lrwxrwxrwx 1 root root      26 Aug 14 09:47 libmysqlclient_r.so.15 ->
libmysqlclient_r.so.15.0.0
-rwxr-xr-x 1 root root 1518552 Jan 22  2013 libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root      24 Aug 14 09:47 libmysqlclient.so.15 ->
libmysqlclient.so.15.0.0
-rwxr-xr-x 1 root root 1511088 Jan 22  2013 libmysqlclient.so.15.0.0
-rwxr-xr-x 1 root root   12947 Jan 22  2013 mysqlbug
-rwxr-xr-x 1 root root    6182 Jan 22  2013 mysql_config
[root at tips5100 mysql]# pwd
/usr/lib64/mysql

I'm sure its something simple.... but I'm at a loss....

TIA,
Mark


More information about the TriLUG mailing list