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
作者:别来无恙-
出处:https://www.cnblogs.com/yanjieli/p/10736916.html
版权:本作品采用「署名-非商业性使用-相同方式共享 4.0 国际」许可协议进行许可。
Buy me a cup of coffee ☕.
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步