libmysqlclient.so.15 is needed by package perl-DBD-MySQ

Suurbier

Verified User
Joined
Apr 23, 2007
Messages
246
I can't remove this annoying error when I try to update trough yum. I already searched on Google but i could not found a solution, I also tried this from the DA help page.
Code:
wget -O /usr/lib/libmysqlclient.so.15 http://files.directadmin.com/services/es_5.0/libmysqlclient.so.15
chmod 755 /usr/lib/libmysqlclient.so.15
ldconfig
But it did not work..

This is the following error when i use yum update

Code:
#yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.triple-it.nl
 * epel: mirror.nl.leaseweb.net
 * extras: centos.mirror.triple-it.nl
 * updates: centos.mirror.triple-it.nl
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package mytop.noarch 0:1.7-4.b737f60.el5 set to be updated
--> Processing Dependency: perl(DBD::mysql) >= 1 for package: mytop
--> Running transaction check
---> Package perl-DBD-MySQL.i386 0:3.0007-2.el5 set to be updated
--> Processing Dependency: libmysqlclient.so.15 for package: perl-DBD-MySQL
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: perl-DBD-MySQL
--> Finished Dependency Resolution
perl-DBD-MySQL-3.0007-2.el5.i386 from base has depsolving problems
  --> Missing Dependency: libmysqlclient.so.15 is needed by package perl-DBD-MySQL-3.0007-2.el5.i386 (base)
perl-DBD-MySQL-3.0007-2.el5.i386 from base has depsolving problems
  --> Missing Dependency: libmysqlclient.so.15(libmysqlclient_15) is needed by package perl-DBD-MySQL-3.0007-2.el5.i386 (base)
Error: Missing Dependency: libmysqlclient.so.15 is needed by package perl-DBD-MySQL-3.0007-2.el5.i386 (base)
Error: Missing Dependency: libmysqlclient.so.15(libmysqlclient_15) is needed by package perl-DBD-MySQL-3.0007-2.el5.i386 (base)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

Code:
#yum list installed MySQL*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.triple-it.nl
 * epel: mirror.nl.leaseweb.net
 * extras: centos.mirror.triple-it.nl
 * updates: centos.mirror.triple-it.nl
Excluding Packages in global exclude list
Finished
Installed Packages
MySQL-client.i386                   5.1.60-1.glibc23                   installed
MySQL-devel.i386                    5.1.60-1.glibc23                   installed
MySQL-server.i386                   5.1.60-1.glibc23                   installed
MySQL-shared.i386                   5.1.60-1.glibc23                   installed
 
The yum update appears to be broken; I'm having similar problems. But the DirectAdmin approach should work.

Where do you see problems?

Jeff
 
I don't see any problems, but I don't like outdated software.
 
Try the following commands to fix yum:

yum clean all

after that

yum clean metadata

If all is oke you might be able to update with yum again.
Could also be there is also a version installed via MCPAN which is causing troubles.
 
Last edited:
Try the following commands to fix yum:

yum clean all

after that

yum clean metadata

If all is oke you might be able to update with yum again.
Could also be there is also a version installed via MCPAN which is causing troubles.

Didn't work for me.
 
Note, I did not find a valid perl-DBD-MySQL rpm for MySQL 5.1 for CentOS 5.x, so exclude the package perl-DBD-MySQL-* in /etc/yum.conf and upgrade DBD::mysql from CPAN to make mytop to work.
 
Back
Top