[Pkg-net-snmp-devel] Bug#617212: net-snmp: FTBFS: /usr/bin/ld: .libs/snmpusm.o: undefined reference to symbol 'BN_bn2bin@@OPENSSL_0.9.8'

Salvatore Bonaccorso carnil at debian.org
Mon Mar 7 08:36:59 UTC 2011


Source: net-snmp
Version: 5.4.3~dfsg-2
Severity: serious
Tags: sid wheezy
Justification: FTBFS

Hi

net-snmp FTBFS with the following:

> libtool: link: gcc -DNETSNMP_ENABLE_IPV6 -g -O2 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasin
> g -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -o .libs/snmpusm .libs/snmpusm
> .o  -L/build/salvi-net-snmp_5.4.3~dfsg-2-amd64-wMmcQn/net-snmp-5.4.3~dfsg/snmplib/.libs -L/build/salvi-net-snmp_5.4.3~dfsg-2-amd64-wMmcQn/net-snmp
> -5.4.3~dfsg/snmplib -L/build/salvi-net-snmp_5.4.3~dfsg-2-amd64-wMmcQn/net-snmp-5.4.3~dfsg/agent/.libs -L/build/salvi-net-snmp_5.4.3~dfsg-2-amd64-w
> MmcQn/net-snmp-5.4.3~dfsg/agent -L/build/salvi-net-snmp_5.4.3~dfsg-2-amd64-wMmcQn/net-snmp-5.4.3~dfsg/agent/helpers/.libs -L/build/salvi-net-snmp_
> 5.4.3~dfsg-2-amd64-wMmcQn/net-snmp-5.4.3~dfsg/agent/helpers ../snmplib/.libs/libnetsnmp.so
> /usr/bin/ld: .libs/snmpusm.o: undefined reference to symbol 'BN_bn2bin@@OPENSSL_0.9.8'
> /usr/bin/ld: note: 'BN_bn2bin@@OPENSSL_0.9.8' is defined in DSO //usr/lib64/libcrypto.so.0.9.8 so try adding it to the linker command line
> //usr/lib64/libcrypto.so.0.9.8: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[3]: *** [snmpusm] Error 1
> make[3]: Leaving directory `/build/salvi-net-snmp_5.4.3~dfsg-2-amd64-wMmcQn/net-snmp-5.4.3~dfsg/apps'
> make[2]: *** [subdirs] Error 1
> make[2]: Leaving directory `/build/salvi-net-snmp_5.4.3~dfsg-2-amd64-wMmcQn/net-snmp-5.4.3~dfsg'
> dh_auto_build: make -j1 LD_RUN_PATH= returned exit code 2
> make[1]: *** [override_dh_auto_build] Error 2
> make[1]: Leaving directory `/build/salvi-net-snmp_5.4.3~dfsg-2-amd64-wMmcQn/net-snmp-5.4.3~dfsg'
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2

I attach the full build log.

Bests
Salvatore

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: net-snmp_5.4.3~dfsg-2_amd64.build.gz
Type: application/x-gzip
Size: 30298 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20110307/15149929/attachment-0001.bin>


More information about the Pkg-net-snmp-devel mailing list