Tuesday, 28 January 2014

libmysqlclient.so.18: cannot open shared object file: No such file or directory


Apahce Errorlog:
libmysqlclient.so.18: cannot open shared object file: No such file or directory

root@x3430-24863 [/usr/lib64]# php
php: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory

which means php needs shared library libmysqlclient.so.18,but it doesn't exit.

Fix:

root@x3430-24863 [/usr/lib64]# ln -s libmysqlclient.so.16 libmysqlclient.so.18
 To create symlink it with before .so file version.

No comments:

Post a Comment