Programs which embed a perl interpreter must declare a
Build-Depends on libperl-dev
.
The default linker options produced by
perl -MExtUtils::Embed -e ldopts
will link against the dynamic libperl. If programs wish to link
to the static library, then -lperl should be changed to
/usr/lib/libperl.a
in those options.
Dependencies for programs linking against the shared Perl library will be
automatically created by dpkg-shlibdeps
. Note however that the
shared perl library package only suggests perl-base
and packages
requiring any core modules from the perl
package must
depend upon it explicitly.
Debian Perl Policy
version 1.20debian-policy@lists.debian.org