安装zabbix 3.4版本编译报错configure: error: Unable to use libevent (libevent check failed) 解决办法

官网下载当前最新版本zabbix 3.4来安装,还是和之前的依赖略有不同,譬如:
版本编译报错configure: error: Unable to use libevent (libevent check failed)
解决办法如下:

yum install libevent-devel  -y

问题解决。
说明:当前我用的编译参数如下

./configure --prefix=/usr/local/zabbix --sysconfdir=/etc/zabbix/ --enable-server --enable-agent --with-net-snmp --with-libcurl --with-mysql --with-libxml2

如服务器是新服务器,一般依赖不足。建议一起安装如下依赖,减少因为缺少依赖报错的可能性:

yum install unixODBC-devel mysql-devel net-snmp-devel libxml2-devel libcurl-devel libevent-devel

猜你喜欢

转载自blog.csdn.net/shana_8/article/details/81125244