error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such

denniswwh發表於2010-10-29

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

問題解決辦法:

locate libmysqlclient.so.16

如我的mysql安裝在/usr/local/mysql下,則結果為

/usr/local/mysql/lib/mysql/libmysqlclient.so.16

vi /etc/ld.so.conf

增加一行 /usr/local/mysql/lib/mysql

然後執行ldconfig生效。

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/124805/viewspace-1040593/,如需轉載,請註明出處,否則將追究法律責任。

相關文章