1 year ago

#327490

test-img

davidc

Getting error "Could not load oplib `nqp_dyncall_ops'" + traceback when executing raku one liner

I have a rakudo instance that will do nothing other than respond with "Could not load oplib 'nqp_dyncall_ops'".

Using the REPL:


perl6

Could not load oplib 'nqp_dyncall_ops

exit

Unable to load setting CORE; maybe it is missing a YOU_ARE_HERE?

when executing a script it gives me a trackback as well


perl6 -e "say 22"

Could not load oplib `nqp_dyncall_ops' current instr.: '' pc 6006 (src/gen/perl6-moduleloader.pir:2605) (gen/parrot/ModuleLoader.nqp:349) . . . called from Sub 'MAIN' pc 345 (src/gen/perl6.pir:128) (gen/parrot/main.nqp:45) called from Sub '' pc 317 (src/gen/perl6.pir:112) (gen/parrot/main.nqp:35) called from Sub '' pc 1054 (src/gen/perl6.pir:378) (gen/parrot/main.nqp:58)

Running this on Ubuntu (WSL Windows Subsystem for Linux)

apt-get install shows I have the latest version


apt-get install perl6 Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'rakudo' instead of 'perl6' rakudo is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 242 not upgraded.

Running on the win32 subsystem on the same machine runs ok


F:>raku

To exit type 'exit' or '^Z'

2 2 ^Z

F:>perl6 -e "say 2" 2

ubuntu

windows-subsystem-for-linux

raku

traceback

rakudo

0 Answers

Your Answer

Accepted video resources