• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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