BUG - ./configure doesn't check for zlib
elof2 at sentor.se
elof2 at sentor.se
Fri Apr 15 09:05:52 EDT 2011
I just compiled argus-clients-3.0.5.5 on a linux Debian machine and got:
...
gcc -O3 -I. -I../include -I../common -DHAVE_CONFIG_H -c ./print-isakmp.c
gcc -O3 -I. -I../include -I../common -DHAVE_CONFIG_H -c ./print-igmp.c
gcc -O3 -I. -I../include -I../common -DHAVE_CONFIG_H -c ./print-dvmrp.c
gcc -O3 -I. -I../include -I../common -DHAVE_CONFIG_H -c ./smbutil.c
gcc -O3 -I. -I../include -I../common -DHAVE_CONFIG_H -c ./gmpls.c
gcc -O3 -o ../bin/radump radump.o print-aodv.o print-arp.o print-beep.o
print-bfd.o print-bgp.o print-bootp.o print-domain.o print-krb.o
print-ldp.o print-l2tp.o print-lmp.o print-msdp.o print-ntp.o print-pim.o
print-pptp.o print-snmp.o print-syslog.o print-rip.o print-telnet.o
print-tftp.o print-isoclns.o print-ether.o print-timed.o print-radius.o
print-rx.o print-smb.o print-stp.o print-isakmp.o print-igmp.o
print-dvmrp.o smbutil.o gmpls.o ../lib/argus_parse.a ../lib/argus_common.a
../lib/argus_client.a -lm -lz -lpthread
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[1]: *** [../bin/radump] Error 1
make[1]: Leaving directory `/usr/src/argus-clients-3.0.5.5/radump'
Apparently ./configure does not properly check that 'zlib-dev' is
installed on the system (I only had 'zlib' installed).
After installing 'zlib-dev' (or 'zlib1g-dev' to be exact), the compilation
could be resumed.
/Elof
More information about the argus
mailing list