zabbix--源码安装报错总结

源码安装 zabbix 报错总结

1)报错: configure: error: MySQL library not found mysql

  • 解决办法 
    # 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 foundsql

  • 解决办法
    # yum install libxml2-devel -y

3)报错:configure: error: Invalid Net-SNMP directory - unable to find net-snmp-configcurl

  • 解决办法
    # yum install net-snmp-devel -y

4)报错:configure: error: Unable to use libevent (libevent check failed)url

  • 解决办法
    # yum install libevent-devel -y

5)报错:configure: error: Curl library not foundspa

  • 解决办法
    # yum install curl-devel -y

6)报错:configure: error: Unable to use libpcre (libpcre check failed)code

  • 解决办法
    # yum install pcre* -y
相关文章
相关标签/搜索