欢迎光临
我们一直在努力

解答zabbix在configure时候遇到的问题(CentOS)

zabbix在configure时候遇到的问题(CentOS)为你解答:

在CentOS系统中,安装zabbix进行configure时会遇到以下4个主要问题

./configure –enable-server –enable-agent –with-mysql –with-net-snmp –with-jabber –with-libcurl

1 configure: error: MySQL library not found

the problem is not installed mysql-devel

#yum install mysql-devel   

2 configure: error: Jabber library not found

the problem is not installed jabber lib

#wget http://iksemel.googlecode.com/files/iksemel-1.4.tar.gz

下载完成后解压、配置、安装:

tar zxvf iksemel-1.4.tar.gz   cd iksemel-1.4   configure   make   make install

之后对zabbix进行configure还是会遇到这个问题,那么将jabber目录指定即可:#./configure –enable-server –enable-agent –with-mysql –with-net-snmp –with-jabber=/usr/local/ –with-libcurl

3 configure: error: Not found curl Library

#yum install curl-devel (此项未经测试)

4 configure: error : Not found NET-SNMP library

yum install net-snmp-devel

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。