configure: error: SNMP sanity check failed. Please check config.log for more information.

The following error was getting generated while PHP compilation.

checking whether to enable UCD SNMP hack… yes
checking for default_store.h… no

checking for kstat_read in -lkstat… no
checking for snmp_parse_oid in -lsnmp… no
checking for init_snmp in -lsnmp… no
configure: error: SNMP sanity check failed. Please check config.log for more information.

Fix

yum install net-snmp-devel

Leave a comment