Wednesday, February 23, 2011

error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file

Today I was working on installing some package. After Installing the package successfully, I have just start that by typing the command whatever for that. Then I got the following error.

** : error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory **

So I have worked on this and found the following solution.
This error is because mysql library path is not in system library locations.

To fix the error edit /etc/ld.so.conf
#vi /etc/ld.so.conf
 
Add following line to end of the file
/usr/lib/mysql

Now run ldconfig
#ldconfig

 Kuldeep
!! Enjoy Linux







Integrate Jenkins with Azure Key Vault

Jenkins has been one of the most used CI/CD tools. For every tool which we are using in our daily life, it becomes really challenges when ...