Bug#631308: libperl-dev: should depend on libc6-dev
Niko Tyni
ntyni at debian.org
Wed Jun 22 19:05:00 UTC 2011
Package: libperl-dev
Version: 5.12.3-7
Severity: minor
The only supported way of linking against libperl.so that I'm aware of
is to use ExtUtils::Embed::ldopts. This gives a list of other libraries
too:
% perl -MExtUtils::Embed -e ldopts
-Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.12/CORE -lperl -ldl -lm -lpthread -lc -lcrypt
Linking against these other libraries isn't possible without libc6-dev
(or its equivalent on the deviating architectures) installed.
It therefore looks like libperl-dev should at least Recommend, probably
Depend, on something like "libc6-dev | libc-dev".
Obviously this is a no-op for Debian package builds as libc6-dev is
already in the build-essential set, hence the low severity.
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list