Bug#801498: rakudo: Native libraries and paths

Dominique Dumont dod at debian.org
Sat Nov 5 19:20:53 UTC 2016


On Thursday, 3 November 2016 10:07:34 CET Tobias Leich wrote:
> It might want to look like this now:
> 
> MoarVM/build/setup.pm:128:    ldrpath    => '-Wl,-rpath,"/@libdir@" 
> -Wl,-rpath,"@prefix@/share/perl6/site/lib" 
> -Wl,-rpath,"/home/gregoa/.perl6/2015.09/lib"',

That is not possible in Debian context. moar and rakudo are compiled on Debian 
build server: a directory belonging to a user cannot be added in rpath (which 
would also be a security hole and against debian policy)

> The proper fix would be that Linenoise installs the liblinenoise.so in a 
> known directory. Though that might not be an easy one.

This would require to run the install phase as root to install linenoise.so in
a known directory (why not @prefix@/share/perl6/site/lib ?).

All the best.

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org



More information about the Pkg-rakudo-devel mailing list