Mysql – Failed depencies: libthesqlclient.so.16 is needed

centos5MySQLrpmunix

I'm trying to install something on my server that requires mysqlclient, but looking at my RPM package list I have it ("MySQL-client-5.0.91-0.glibc23"). Doing a locate on libmysqlclient gives me this:

[root@host.domain.net] ~ >> locate libmysqlclient
/usr/lib64/libmysqlclient.so
/usr/lib64/libmysqlclient.so.15
/usr/lib64/libmysqlclient.so.15.0.0
/usr/lib64/libmysqlclient_r.so
/usr/lib64/libmysqlclient_r.so.15
/usr/lib64/libmysqlclient_r.so.15.0.0
/usr/lib64/mysql/libmysqlclient.a
/usr/lib64/mysql/libmysqlclient.la
/usr/lib64/mysql/libmysqlclient.so
/usr/lib64/mysql/libmysqlclient_r.a
/usr/lib64/mysql/libmysqlclient_r.la
/usr/lib64/mysql/libmysqlclient_r.so
/usr/local/cpanel/lib64/libmysqlclient.so.14

For some reason it looks like I'm missing libmysqlclient.so.16. Does anyone know why this could be? How do I go about getting it? I'm currently running CentOS 5.

Thanks a lot.

Best Answer

libmysqlclient.so.16 is provided by MySQL 5.1 packages. There are two solutions here:

  1. Install MySQL 5.1 from a third party repository;
  2. Install the package with --nodeps and see if it can work with MySQL 5.0 instead of 5.1 .
Related Topic