• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Cannot find libmysqlclient.so.14

T

tcherokee

Guest
I ran into a bit of a problem with plesk and I logged into ssh root to restart plesk and this error came up while trying to start and stop spamassassin

/usr/local/psa/admin/bin/spamd: error while loading shared libraries: libmysqlclient.so.14: cannot open shared object file: No such file or directory

The thing is i actually have the libmysqlclient.so.14 file in /usr/lib/mysql/

Here is the result of the locate command

locate libmysqlclient.so
/usr/lib/mysql/libmysqlclient.so
/usr/lib/mysql/libmysqlclient.so.14
/usr/lib/mysql/libmysqlclient.so.14.0.0

The answer might be quite simple, but i'm a bit of a newbie...

Thanks in advance for your help.
 
and what version of mysql is installed on the system? You can check with this:

rpm -qa |grep -i ^mysql

My guess is that there is some 3rd party mysql package on there, that doesnt include the right mysql lib. Take a look in the /usr/lib/mysql dir to see if those files are really there. locate is reading an index that is generated nightly. So an update to mysql wouldnt be reflected until it ran again.
 
thanks atomicturtle,

i used a symlink from /usr/lib/libmysqlclient.so.14 to /usr/lib/mysql/libmysqlclient.so.14 and it worked. I guess it was looking for the file in the /usr/lib/ folder instead of /usr/lib/mysql/.

At least it is working now. :)

Thanks for your help again
 
Back
Top