Hello,
I don't manage to compile the new zabbix on SuSe 10.1 or openSuse 10.2
On the same computer, it works easly with 1.1.7
And without snmp it works well
I have
~/zabbix-1.4 # rpm -qa |grep snmp
net-snmp-devel-5.3.0.1-21
net-snmp-5.3.0.1-21
~/zabbix-1.4 # ./configure --enable-server --enable-agent --with-net-snmp --with-mysql
[...]
checking for main in -lnetsnmp ... no
configure: error: Not found NET-SNMP library
~/zabbix-1.4 #
the corresponding section in config.log:
configure:10159: checking for main in -lnetsnmp
configure:10188: gcc -o conftest -g -O2 -I/usr/include/mysql -fmessage-length=0 -D_FORTIFY_SOURCE=2 -g -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -fno-strict-aliasing -I/usr/include/rpm -I. -I/usr/include -L/usr/lib64/mysql -L/usr/lib64 -L/usr/lib conftest.c -lnetsnmp -lm -lresolv -lnsl -lmysqlclient >&5
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_DigestInit'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_DigestFinal_ex'
/usr/lib64/libnetsnmp.so: undefined reference to `AES_set_encrypt_key'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_md5'
/usr/lib64/libnetsnmp.so: undefined reference to `HMAC'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_MD_CTX_cleanup'
/usr/lib64/libnetsnmp.so: undefined reference to `SSLeay'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_sha1'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_MD_CTX_init'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/lib64/libnetsnmp.so: undefined reference to `RAND_bytes'
/usr/lib64/libnetsnmp.so: undefined reference to `DES_cbc_encrypt'
/usr/lib64/libnetsnmp.so: undefined reference to `DES_ncbc_encrypt'
/usr/lib64/libnetsnmp.so: undefined reference to `DES_key_sched'
/usr/lib64/libnetsnmp.so: undefined reference to `AES_cfb128_encrypt'
collect2: ld returned 1 exit status
configure:10194: $? = 1
configure: failed program was:
| /* confdefs.h. */
I've found an other article in the forum but the change seems to be yet incorporated
Any idea?
Thanks
I don't manage to compile the new zabbix on SuSe 10.1 or openSuse 10.2
On the same computer, it works easly with 1.1.7
And without snmp it works well
I have
~/zabbix-1.4 # rpm -qa |grep snmp
net-snmp-devel-5.3.0.1-21
net-snmp-5.3.0.1-21
~/zabbix-1.4 # ./configure --enable-server --enable-agent --with-net-snmp --with-mysql
[...]
checking for main in -lnetsnmp ... no
configure: error: Not found NET-SNMP library
~/zabbix-1.4 #
the corresponding section in config.log:
configure:10159: checking for main in -lnetsnmp
configure:10188: gcc -o conftest -g -O2 -I/usr/include/mysql -fmessage-length=0 -D_FORTIFY_SOURCE=2 -g -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -fno-strict-aliasing -I/usr/include/rpm -I. -I/usr/include -L/usr/lib64/mysql -L/usr/lib64 -L/usr/lib conftest.c -lnetsnmp -lm -lresolv -lnsl -lmysqlclient >&5
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_DigestInit'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_DigestFinal_ex'
/usr/lib64/libnetsnmp.so: undefined reference to `AES_set_encrypt_key'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_md5'
/usr/lib64/libnetsnmp.so: undefined reference to `HMAC'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_MD_CTX_cleanup'
/usr/lib64/libnetsnmp.so: undefined reference to `SSLeay'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_sha1'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_MD_CTX_init'
/usr/lib64/libnetsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/lib64/libnetsnmp.so: undefined reference to `RAND_bytes'
/usr/lib64/libnetsnmp.so: undefined reference to `DES_cbc_encrypt'
/usr/lib64/libnetsnmp.so: undefined reference to `DES_ncbc_encrypt'
/usr/lib64/libnetsnmp.so: undefined reference to `DES_key_sched'
/usr/lib64/libnetsnmp.so: undefined reference to `AES_cfb128_encrypt'
collect2: ld returned 1 exit status
configure:10194: $? = 1
configure: failed program was:
| /* confdefs.h. */
I've found an other article in the forum but the change seems to be yet incorporated
Any idea?
Thanks
Comment