安装zabbix-proyx的时候,报错

checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for net-snmp-config... /usr/bin/net-snmp-config checking for main in -lnetsnmp... yes checking for localname in struct snmp_session... yes checking for libevent support... no configure: error: Unable to use libevent (libevent check failed)

安装依赖库 yum install libevent-devel -y