Bug#463399: apr-1-config --libs returns spurious libs
Package: libapr1-dev
Version: 1.2.11-1
Severity: normal
Hi,
While investigating the following warning from dpkg-shlibdeps in
libapache2-mod-perl2:
debian/libapache2-mod-perl2/usr/lib/perl5/auto/APR/APR.so shouldn't be
linked with libuuid.so.1 (it uses none of its symbols).
...
same for librt.so.1 libcrypt.so.1 libpthread.so.0 libdl.so.2
I've found that the extra library linkage comes from apr-1-config:
$ apr-1-config --link-ld --libs
-L/usr/lib -lapr-1 -luuid -lrt -lcrypt -lpthread -ldl
The only library that APR.so really needs is libapr-1
Please consider omitting "-luuid -lrt -lcrypt -lpthread -ldl" from the
output.
Thanks,
dam
Debian Perl Group
-- System Information:
Debian Release: lenny/sid
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.23-1-686 (SMP w/2 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libapr1-dev depends on:
ii libapr1 1.2.11-1 The Apache Portable Runtime Librar
ii uuid-dev 1.2-1.40.5-2 universally unique id library - he
libapr1-dev recommends no packages.
-- no debconf information
Reply to: