zabbix3.2啟動有如下報錯:
# service zabbix_server start
Starting zabbix_server: /home/zabbix-server/sbin/zabbix_server: error while loading shared libraries: libmysqlclient.so.18:
cannot open shared object file: No such file or directory
[失敗]
解決方法:
查找這個模塊的位置:
# locate libmysqlclient.so.18
/usr/local/mysql/lib/libmysqlclient.so.18
/usr/local/mysql/lib/libmysqlclient.so.18.1.0
查看ld.so.conf文件的內容:
# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
添加路徑信息:
# echo "/usr/local/mysql/lib" >> /etc/ld.so.conf
# ldconfig 刷新加載
http://xxxxxx/Linuxjc/1174845.html TechArticle
libreadline.so.6: cannot open shared object file 問題解決辦法
error while loading shared libraries: libevent-1.3.so.1:cannot open shared object file :No such file
SUSE下編譯rcssserver12.1 提示librcssclangparser.so.2: cannot open shared object file:
cannot open shared object file: No such file or directory解決
error while loading shared libraries: libmysqlclient.so.18解決方法
red hat安裝oracle報錯 libawt.so: libXp.so.6: cannot open shared object file: No such file
centos 下運行程序出現error while loading shared libraries cannot open shared object file錯誤