Bug#801498: rakudo: Native libraries and paths
Tobias Leich
email at froggs.de
Thu Nov 3 09:07:34 UTC 2016
> Looks like the NativeCall library ignores --libpath.
The library search path is a compile time option to moarvm too.
See:
MoarVM/build/setup.pm:128: ldrpath => '-Wl,-rpath,"/@libdir@"
-Wl,-rpath,"@prefix@/share/perl6/site/lib"',
Since there is no option yet to add stuff to it during configure, you've
to edit build/setup.pm at line 128.
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"',
The proper fix would be that Linenoise installs the liblinenoise.so in a
known directory. Though that might not be an easy one.
More information about the Pkg-rakudo-devel
mailing list