Bug#631096: Bug#630399: Add multi-arch dirs to ld_run_path ?

Niko Tyni ntyni at debian.org
Sun Jun 26 10:23:59 UTC 2011


retitle 631096 perl: EU::MM puts multiarch dirs in LD_RUN_PATH
thanks

On Sat, Jun 25, 2011 at 06:19:51PM +0200, أحمد المحمودي wrote:
> I'm not sure if my problem is related to this bug.
> 
> After building libverilog-perl package [1], lintian reported this error:
> 
> E: binary-or-shlib-defines-rpath usr/lib/perl5/auto/Verilog/Parser/Parser.so /usr/lib/i386-linux-gnu
> 
> by checking the build log [2] I noticed this: 
> LD_RUN_PATH="/usr/lib/i386-linux-gnu" g++  -shared -O2 -g -L/usr/local/lib ....

Thanks for reporting this. I think #631096 (cc'd) is a better match for
the issue, but #630399 is pretty close too :)

On Sat, Jun 25, 2011 at 10:09:36PM +0200, أحمد المحمودي wrote:

>   In /usr/share/perl/5.12/ExtUtils/Liblist/Kid.pm I changed the 
>   $ld_run_path_seen{$_}++ line as follows:
> 
>       $ld_run_path_seen{$_}++ for qw(/lib /usr/lib /usr/X11R6/lib), @libpath;

Yes, this is probably a good fix. Thanks. As mentioned in #630399,
/usr/X11R6/lib is old cruft and should be removed while we're at
it. Possibly /lib and /usr/lib too, as they're in @libpath already,
but they don't really hurt.

(Once this is fixed, some binNMUs may be needed to clean up any RPATHs that
 have made it into the archive in the last couple of weeks.)
-- 
Niko Tyni   ntyni at debian.org






More information about the Perl-maintainers mailing list