zabbix安裝提示configure: error: Not found mysqlclient library

./configure --prefix=/usr/local/zabbix --with-mysql --with-net-snmp --with-libcurl --enable-server --enable-agent --enable-proxymysql

報錯:configure: error: Not found mysqlclient librarysql

安裝mysql-devel、mysql-share(libmysqlclient.so* 等的共享庫),centos7 yum安裝mysql-devel默認是mariadb,可本身下載rpm包進行安裝。centos

注:zabbix安裝有多個依賴問題curl

configure: error: Not found curl Libraryurl

#yum install curl-develcentos7

configure: error : Not found NET-SNMP libraryserver

#yum install net-snmp-develget

參考:https://geekflare.com/not-found-mysqlclient-library-zabbix/it

相關文章
相關標籤/搜索