Any Help - error cpanel

valvps

Active member
Registered
Joined
Feb 17, 2017
Messages
72
Points
8
Can someone give me an idea of how to solve this?


/usr/local/cpanel/3rdparty/bin/php: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
 

cloudhostworld

New member
Registered
Joined
Jul 23, 2018
Messages
14
Points
3
Would you please post output of the following command?

ls -l /usr/lib/mysql | grep libmysqlclient.so
Most probably libmysqlclient.so.16 symlink is missing at location /usr/lib/mysql
 

Malware.Expert

Member
Registered
Joined
Jun 18, 2018
Messages
55
Points
18
Check you that you have that exit's or symbolic link:

in /usr/lib64
Code:
lrwxrwxrwx 1 root root      24 Jun  3  2017 libmysqlclient.so.16 -> libmysqlclient.so.16.0.0
-rwxr-xr-x 1 root root 6178675 Feb 25  2015 libmysqlclient.so.16.0.0
If missing make and link and run:

Code:
ldconfig
Or have you removed software with yum ?
 

valvps

Active member
Registered
Joined
Feb 17, 2017
Messages
72
Points
8
valvps
-rwxr-xr-x 1 root root 2958122 Feb 25 2015 libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root 24 Jun 27 23:26 libmysqlclient.so.15 -> libmysqlc lient.so.15.0.0
-rwxr-xr-x 1 root root 2900430 Feb 25 2015 libmysqlclient.so.15.0.0
drwxr-xr-x. 4 root root 4096 Jun 27 23:29 mysql
 

AlbaHost

Well-known member
Moderator
Hosting Provider
Joined
Jan 18, 2017
Messages
790
Points
43
Can someone give me an idea of how to solve this?


/usr/local/cpanel/3rdparty/bin/php: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
Which php version are you using?
 

mobin

Well-known member
Registered
Joined
Jun 22, 2017
Messages
234
Points
28
Please note that this is cPanel's internal PHP, but not the PHP using for your client's website. Can you check file "/usr/local/cpanel/3rdparty/lib64/mysql/libmysqlclient.so.16" exists; it's supposed to be a synlink to "/usr/local/cpanel/3rdparty/lib64/mysql/libmysqlclient.so.16.0.0". If that does not exists, try to re-install package "cpanel-mysql-libs" and see whether it can fix this. if it cannot fix, run "ldd /usr/local/cpanel/3rdparty/bin/php" and paster your result here
 
Older Threads
Replies
16
Views
2,718
Replies
29
Views
8,938
Replies
1
Views
1,369
Latest Threads
Recommended Threads
Replies
0
Views
1,809
Replies
3
Views
2,145
Replies
3
Views
2,400

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top