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
posted @   呼长喜  阅读(330)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
历史上的今天:
2022-06-08 VUE框架的使用
2022-06-08 VUE框架基本案例(数据驱动界面)
2022-06-08 VUE框架安装
2022-06-08 VUE框架
点击右上角即可分享
微信分享提示