[TriLUG] libmysqlclient.so.15 error

Thomas V Thomas via TriLUG trilug at trilug.org
Fri Aug 14 10:21:50 EDT 2015


Check this,

http://www.brunolinux.com/02-The_Terminal/ldconfig.html

There may be a slight variation depending on the version,
eg:

$ cat /etc/ld.so.conf
include ld.so.conf.d/*.conf

$ cd /etc/ld.so.conf.d/

$ ls -l
total 24
-r--r--r-- 1 root root 324 May 29  2013 kernel-2.6.32-400.28.1.el5uek.conf
-r--r--r-- 1 root root 324 Jun  6  2014 kernel-2.6.32-400.36.2.el5uek.conf
-r--r--r-- 1 root root 324 Feb  5  2015 kernel-2.6.39-400.247.1.el5uek.conf
-r--r--r-- 1 root root 324 Aug 22  2012
kernelcap-2.6.18-308.13.1.0.1.el5.conf
-rw-r--r-- 1 root root  17 Feb 13  2012 mysql-x86_64.conf
-rw-r--r-- 1 root root  23 Aug 28  2012 xulrunner-64.conf

$ cat mysql-x86_64.conf
/usr/lib64/mysql



On Fri, Aug 14, 2015 at 10:05 AM, Mark Fowle via TriLUG <trilug at trilug.org>
wrote:

> 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
> --
> This message was sent to: Thomas V Thomas <thomasvt at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web  :
> http://www.trilug.org/mailman/options/trilug/thomasvt%40gmail.com
> Welcome to TriLUG: http://trilug.org/welcome


More information about the TriLUG mailing list