出现错误“无法加载 oplib `nqp_dyncall_ops”” +执行 raku oneliner 时的回溯
我有一个 rakudo 实例,除了响应“无法加载 oplib 'nqp_dyncall_ops'”之外,什么也不做。
使用 REPL:
perl6
Could not load oplib 'nqp_dyncall_ops
exit
Unable to load setting CORE; maybe it is missing a YOU_ARE_HERE?
执行脚本时,它也会给我一个引用
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)
在 Ubuntu(WSL Windows Subsystem for Linux)上运行它
apt-get install 显示我有最新版本
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.
在同一台计算机上的 win32 子系统上运行运行正常
F:>raku
To exit type 'exit' or '^Z'
2 2 ^Z
F:>perl6 -e "say 2" 2
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论