Tag Archives: libmysqlclient.so.16

[Solved] libmysqlclient.so.16: cannot open shared object file: No such file or directory Error

libmysqlclient.so.16: cannot open shared object file: No such file or directory.

 

 

See libmysqlclient.so.16: find/-name libmysqlclient.so.16

If it’s installed,

ln -s /usr/local/mysql/lib/mysql/libmysqlclient.so.16 /usr/lib/libmysqlclient.so.16

This can solve, but it needs to be ldconfig

 

If not installed:

Method 1:

download libmysqlclient.so.16, put it in/usr/lib, if 64, put it in/usr/lib64

Method 2:

Example: MySQL-shared-compat package.

Command: #rpm -qp –provides MySQL-shared-compat-5.1.47-1.rhel5.x86_64.rpm

MySQL-shared

libmysqlclient.so.12()(64bit)

libmysqlclient.so.14()(64bit)

libmysqlclient.so.14(libmysqlclient_14)(64bit)

libmysqlclient.so.15()(64bit)

libmysqlclient.so.15(libmysqlclient_15)(64bit)

libmysqlclient.so.16()(64bit)

libmysqlclient.so.16(libmysqlclient_16)(64bit)

libmysqlclient_r.so.12()(64bit)

libmysqlclient_r.so.14()(64bit)

libmysqlclient_r.so.14(libmysqlclient_14)(64bit)

libmysqlclient_r.so.15()(64bit)

libmysqlclient_r.so.15(libmysqlclient_15)(64bit)

libmysqlclient_r.so.16()(64bit)

libmysqlclient_r.so.16(libmysqlclient_16)(64bit)

MySQL-shared-compat = 5.1.47-1.rhel5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

As a result, this method can be reached 24443; it depends on the issue of human beings like libmysqlclient.so. Without facing a different problem, it’s decided.

Download location:

http://dev.mysql.com/downloads/mysql/5.1.html

下载安装包名:MySQL-shared-compat-5.1.47-1.rhel5.x86_64

Executable command installation: #rpm -ivh MySQL-shared-compat-5.1.47-1.rhel5.x86_64