Bug#632325: libextutils-f77-perl: runtime() returns interesting path
Niko Tyni
ntyni at debian.org
Sat Jul 2 14:32:11 UTC 2011
On Fri, Jul 01, 2011 at 03:06:57PM +0200, gregor herrmann wrote:
> Package: libextutils-f77-perl
> Version: 1.17-1
> Severity: normal
> I tried to rebuild libpgplot-perl without the chrpath invocation
> that's currently used to get rid if the RPATH issue, because I
> thought this is another instance of #631096, which is fixed in perl
> 5.12.4.
> E: libpgplot-perl: binary-or-shlib-defines-rpath usr/lib/perl5/auto/PGPLOT/PGPLOT.so /usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.6.1
> LD_RUN_PATH="/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.6.1" cc -shared -O2 -g -L/usr/local/lib -fstack-protector PGPLOT.o -o blib/arch/auto/PGPLOT/PGPLOT.so \
Upstream explicitly filters out gcc internal directories from
$Config{libpth}, which is what we now base our ExtUtils::MakeMaker
LD_RUN_PATH / RPATH filter on.
I think linking against gcc libraries like libgfortran is a rare enough
case for Perl XS modules that the best solution is to keep using
chrpath here. Cc'ing perl at packages.d.o though.
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list