• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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