> 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.

Reply via email to