Check whether libmysqlclient. so.16: Find/-name libmysqlclient. so.16 is installed.
If it is installed
Ln
-s /usr/
local
/mysql/lib/mysql/libmysqlclient.so.16 /usr/lib/libmysqlclient.so.16
Note:/usr/local
/mysql/lib/mysql/
Is the path of libmysqlclient. so.16. Create a soft link under/usr/lib.
^_^ Tried to use it ~
1. Method 1:
Download libmysqlclient. so.16 and put it under/usr/lib. If it is 64-bit, put it under/usr/lib64
2. Method 2:
Use: mysql-shared-compat RPM package.
Run the 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
From the execution result, this method can completely solve problems similar to libmysqlclient. So. Solve one problem without incompatibility issues.
: Http://dev.mysql.com/downloads/mysql/5.1.html
Download installation package name: MySQL-shared-compat-5.1.47-1.rhel5.x86_64
Execute the command to install: # rpm-IVH MySQL-shared-compat-5.1.47-1.rhel5.x86_64