zabbix--源码安装报错总结
Posted yanjieli
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix--源码安装报错总结相关的知识,希望对你有一定的参考价值。
源码安装 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
以上是关于zabbix--源码安装报错总结的主要内容,如果未能解决你的问题,请参考以下文章
Zabbix 源码编译报错:configure: error: SSH2 library not found