当前位置: 技术问答>linux和unix
找不到库文件
来源: 互联网 发布时间:2015-08-07
本文导语: 谁用过 specter?老是不能运行,找不到MYSQL的库 可是我明明有这个库文件啊 ./specter --with-mysql=/usr/local/lib/mysql log info: Thu Oct 21 12:08:37 2004 specter: Couldn't load plugin: libmysqlclient.so.12: cannot open shared object file: N...
谁用过 specter?老是不能运行,找不到MYSQL的库 可是我明明有这个库文件啊
./specter --with-mysql=/usr/local/lib/mysql
log info:
Thu Oct 21 12:08:37 2004 specter: Couldn't load plugin: libmysqlclient.so.12: cannot open shared object file: No such file or directory.
最后14分了 感激啊
./specter --with-mysql=/usr/local/lib/mysql
log info:
Thu Oct 21 12:08:37 2004 specter: Couldn't load plugin: libmysqlclient.so.12: cannot open shared object file: No such file or directory.
最后14分了 感激啊
|
把/usr/local/lib/mysql路经加到/etc/ld.so.conf文件中,然后#ldconfig
|
up
|
用LD_LIBRARY_PATH