Code:
# ./configure --enable-server --enable-agent --with-mysql --with-net-snmp ... checking for net-snmp-config... /usr/local/bin/net-snmp-config checking for main in -lnetsnmp ... no configure: error: Not found NET-SNMP library
Code:
# grep snmp config.log $ ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --enable-static configure:9919: checking for net-snmp-config configure:9937: found /usr/local/bin/net-snmp-config configure:9949: result: /usr/local/bin/net-snmp-config configure:10003: checking for main in -lnetsnmp configure:10032: gcc -o conftest -g -O2 -I/usr/local/include/mysql -pipe -I. -I/usr/local/include -static -L/usr/local/lib/mysql -L/usr/lib conftest.c -lnetsnmp -lkvm -lmysqlclient -lz -lm -lssl -lcrypto -lcrypto -lm -lcrypto >&5 /usr/bin/ld: cannot find -lnetsnmp ac_cv_lib_netsnmp__main=no ac_cv_path__libnetsnmp_config=/usr/local/bin/net-snmp-config _libnetsnmp_config='/usr/local/bin/net-snmp-config'
Cheers,
Stephan

Comment