Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perl6 REPL can't find liblinenoise.so #9

Closed
vytas-dauksa opened this issue Dec 4, 2015 · 2 comments
Closed

Perl6 REPL can't find liblinenoise.so #9

vytas-dauksa opened this issue Dec 4, 2015 · 2 comments

Comments

@vytas-dauksa
Copy link

Perl6 REPL doesn't start after installing Linenoise

vytas-local@vytas-desktop:/tmp$ panda --force install Linenoise
==> Fetching Linenoise
==> Building Linenoise
gcc -c -fPIC -Wdeclaration-after-statement -Werror=declaration-after-statement -O3 -DNDEBUG  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -o linenoise.o linenoise.c
gcc -shared -fPIC  -O3 -DNDEBUG -Wl,-rpath,/home/vytas-local/.rakudobrew/moar-nom/install/lib -Wl,-rpath,/home/vytas-local/.rakudobrew/moar-nom/install/share/perl6/site/lib -lm -lpthread -lrt -ldl -o /tmp/.panda-work/1449240020_1/blib/lib/liblinenoise.so linenoise.o
gcc -o constant-helper -Wdeclaration-after-statement -Werror=declaration-after-statement -O3 -DNDEBUG  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC constant-helper.c
perl6 fill-constants.pl < lib/Linenoise.pm.in > lib/Linenoise.pm
==> Testing Linenoise
==> Installing Linenoise
==> Successfully installed Linenoise
vytas-local@vytas-desktop:/tmp$ panda ^C
vytas-local@vytas-desktop:/tmp$ perl6
I ran into a problem while trying to set up REPL completions: Cannot locate native library 'liblinenoise.so': liblinenoise.so: cannot open shared object file: No such file or directory
Continuing without tab completions

===SORRY!===
Cannot locate native library 'liblinenoise.so': liblinenoise.so: cannot open shared object file: No such file or directory

vytas-local@vytas-desktop:/tmp$ perl6 -v
This is rakudo version 2015.11-353-g734549a built on MoarVM version 2015.11-34-gc3eea17 implementing Perl v6.b.

@hoelzro
Copy link
Collaborator

hoelzro commented Dec 4, 2015

@vytas-dauksa Thanks for the report; this is due to a recent change in how module installation works with Rakudo. I'll fix this up if there's a change needed on the module side after the necessary code lands in Rakudo.

@hoelzro
Copy link
Collaborator

hoelzro commented Dec 5, 2015

I got this working through a horrible hack (9f79f92) and have created an issue to use %?RESOURCES after it's been implemented (#10)

@hoelzro hoelzro closed this as completed Dec 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants