Loading

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 @ 2019-05-08 21:17  别来无恙-  阅读(2036)  评论(0编辑  收藏  举报