This still seems to be a problem for Fedora 5 x64 with Zabbix 1.4.2. I've tried all the things mentioned in this thread and I still get:
checking for net-snmp-config... /usr/bin/net-snmp-config
checking for main in -lnetsnmp ... no
configure: error: Not found NET-SNMP library
Please help!
Other info...
[root@gw1 zabbix-1.4.2]# net-snmp-config --libdir
-L/usr/lib64
[root@gw1 zabbix-1.4.2]# net-snmp-config --cflags
-DINET6 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -lcrypto -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -I. -I/usr/include/net-snmp
[root@gw1 zabbix-1.4.2]# net-snmp-config --libs
-L/usr/lib64 -L/usr/lib64 -lnetsnmp -lcrypto -lm -L/usr/lib64/lib -lwrap
Log file:
configure:10361: checking for net-snmp-config
configure:10379: found /usr/bin/net-snmp-config
configure:10392: result: /usr/bin/net-snmp-config
configure:10528: checking for main in -lnetsnmp
configure:10557: gcc -o conftest -g -O2 -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -L/usr/lib64 -L/usr/lib64 -L/usr/lib64/lib conftest.c -lnetsnmp -lm -lresolv >&5
[root@gw1 zabbix-1.4.2]# uname -a
Linux gw1.antd.nist.gov 2.6.17-1.2157_FC5 #1 SMP Tue Jul 11 22:53:56 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
net-snmp-libs-5.3
checking for net-snmp-config... /usr/bin/net-snmp-config
checking for main in -lnetsnmp ... no
configure: error: Not found NET-SNMP library
Please help!
Other info...
[root@gw1 zabbix-1.4.2]# net-snmp-config --libdir
-L/usr/lib64
[root@gw1 zabbix-1.4.2]# net-snmp-config --cflags
-DINET6 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -lcrypto -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -I. -I/usr/include/net-snmp
[root@gw1 zabbix-1.4.2]# net-snmp-config --libs
-L/usr/lib64 -L/usr/lib64 -lnetsnmp -lcrypto -lm -L/usr/lib64/lib -lwrap
Log file:
configure:10361: checking for net-snmp-config
configure:10379: found /usr/bin/net-snmp-config
configure:10392: result: /usr/bin/net-snmp-config
configure:10528: checking for main in -lnetsnmp
configure:10557: gcc -o conftest -g -O2 -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -L/usr/lib64 -L/usr/lib64 -L/usr/lib64/lib conftest.c -lnetsnmp -lm -lresolv >&5
[root@gw1 zabbix-1.4.2]# uname -a
Linux gw1.antd.nist.gov 2.6.17-1.2157_FC5 #1 SMP Tue Jul 11 22:53:56 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
net-snmp-libs-5.3
Comment