Package: net-snmp
Version: 5.2.2-1
Severity: serious

Hi,

Your package seems to be miscompiled because it's mixing
old (1.4.3) and new (1.5.22) libtool versions.  You build
depend on libtool, and run libtoolize, but it warns that
you should update aclocal.m4 manually since it's not auto
generated (by aclocal).

Look for the following line in aclocal.m4:
dnl
dnl Stuff taken from libtool.m4 from the libtool package
dnl

# libtool.m4 - Configure libtool for the host system.
# -*-Shell-script-*-

And replace that until the end of the file with
/usr/share/aclocal/libtool.m4

After that, it seems to build without problems.

During the build it shows things like:
libtoolize --force --copy
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
#aclocal
autoconf
[...]
checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit
 [LM]SB (shared object|dynamic lib )
[...]
/bin/sh ../libtool  --mode=link gcc -DINET6 -O2 -D_REENTRANT -Dlinux  -rpath 
/usr/lib -version-info 9:0:0 -o libnetsnmp.la snmp_client.lo mib.lo parse.lo 
snmp_api.lo snmp.lo snmp_auth.lo asn1.lo md5.lo snmp_parse_args.lo system.lo 
vacm.lo int64.lo read_config.lo snmp_debug.lo tools.lo  snmp_logging.lo 
snmpv3.lo lcd_time.lo keytools.lo scapi.lo callback.lo default_store.lo 
snmp_alarm.lo data_list.lo oid_stash.lo mt_support.lo snmp_enum.lo snmp-tc.lo 
snprintf.lo strlcpy.lo strtol.lo strtoul.lo strtok_r.lo snmp_transport.lo  
snmpUDPIPv6Domain.lo snmpTCPIPv6Domain.lo snmpUDPDomain.lo snmpTCPDomain.lo 
snmpUnixDomain.lo snmpCallbackDomain.lo snmp_secmod.lo  snmpusm.lo 
snmp_version.lo check_varbind.lo container.lo container_binary_array.lo 
container_null.lo container_list_ssll.lo container_iterator.lo cmu_compat.lo 
ucd_compat.lo  -lcrypto
../libtool: line 3944: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): 
command not found
../libtool: line 3944: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): 
command not found
../libtool: line 3944: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): 
command not found

*** Warning: linker path does not have real file for library -lcrypto.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcrypto and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/lib/libcrypto.so.0.9.8
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
../libtool: line 4322: test: : integer expression expected
../libtool: line 4322: test: : integer expression expected
creating reloadable object files...
[...]
creating a temporary reloadable object file: .libs/libnetsnmp.la-51.o
/usr/bin/ld -r -o .libs/libnetsnmp.la-1.o .libs/snmp_client.o
/usr/bin/ld -r -o .libs/libnetsnmp.la-2.o .libs/mib.o .libs/libnetsnmp.la-1.o
/usr/bin/ld -r -o .libs/libnetsnmp.la-3.o .libs/parse.o .libs/libnetsnmp.la-2.o
/usr/bin/ld -r -o .libs/libnetsnmp.la-4.o .libs/snmp_api.o .libs/libnetsnmp.la-
3.o
[...]
gcc -shared .libs/libnetsnmp.la-51.o   -Wl,-soname -Wl,libnetsnmp.so.9 -o .libs
/libnetsnmp.so.9.0.0

Note that libnetsnmp.so.9.0.0 is not linked to -lcrypto as
it should, and this is then causing other packages to fail
to build.



Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to