While migrating custom mysql installation, I got this error. To resolve I followed the following procedure:
This is because mysql library path is not in system library locations.
Now run ldconfig
bin/postconf: error while loading shared
libraries: libmysqlclient.so.16: cannot open
shared object file: No such file or directory
This 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
No comments:
Post a Comment