develooper Front page | perl.perl5.porters | Postings from May 2003

a2p is linked against too many libraries

Thread Next
From:
Alexey Tourbin
Date:
May 28, 2003 01:57
Subject:
a2p is linked against too many libraries
Message ID:
20030528085541.GA29539@solemn.turbinal.org
Hi,

As of the previous main snapshot (19525) on modern linux system, I found
out that a2p is linked against too many libraries which it does not
actually use:

$ make -n a2p
sh -c true
`sh  cflags "optimize='-O3'" a2p.o` a2p.c
cc -o a2p -L/usr/local/lib hash.o  str.o util.o walk.o a2p.o -lnsl -lndbm -lgdbm -ldl -lm -lc -lcrypt -lutil -lrt
$ cc -o a2p -L/usr/local/lib hash.o  str.o util.o walk.o a2p.o
$ LD_BIND_NOW=1 ./a2p </dev/null >/dev/null; echo $?
0
$

-- 
Alexey Tourbin
ALT Linux Team

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About