cd zabbix-2.0.0
echo $CFLAGS
-O2
echo $CPPFLAGS
-I/usr/local/libssh2/include
echo $LDFLAGS
-L/usr/local/libssh2/lib64
echo $LIBS
-lssh2 -lnetsnmp
./configure --prefix=/usr/local/zabbix --enable-server --enable-proxy --enable-agent --with-mysql=/usr/bin/mysql_config --with-net-snmp=/usr/bin/net-snmp-config
...
checking for net-snmp-config... /usr/bin/net-snmp-config
checking for main in -lnetsnmp... no
configure: error: Not found NET-SNMP library
/usr/bin/net-snmp-config --version --libs
5.7.1
-L/usr/lib64 -lnetsnmp -lcrypto -lm
ls -al /usr/lib64/libnetsnmp.so*
lrwxrwxrwx 1 root root 20 Apr 19 08:25 /usr/lib64/libnetsnmp.so -> libnetsnmp.so.30.0.1*
lrwxrwxrwx 1 root root 20 Apr 19 08:22 /usr/lib64/libnetsnmp.so.30 -> libnetsnmp.so.30.0.1*
-rwxr-xr-x 1 root root 695K Apr 5 05:06 /usr/lib64/libnetsnmp.so.30.0.1*