源碼安裝 zabbix 報錯總結
1)報錯: configure: error: MySQL library not found
- 解決辦法
# find / -name "mysql_config" /usr/local/mysql/bin/mysql_config # ./configure --with-mysql=/usr/local/mysql/bin/mysql_config
2)報錯:configure: error: LIBXML2 library not found
- 解決辦法
# yum install libxml2-devel -y
3)報錯:configure: error: Invalid Net-SNMP directory - unable to find net-snmp-config
- 解決辦法
# yum install net-snmp-devel -y
4)報錯:configure: error: Unable to use libevent (libevent check failed)
- 解決辦法
# yum install libevent-devel -y
5)報錯:configure: error: Curl library not found
- 解決辦法
# yum install curl-devel -y
6)報錯:configure: error: Unable to use libpcre (libpcre check failed)
- 解決辦法
# yum install pcre* -y