Last active
November 12, 2025 17:36
-
-
Save ab5tract/89fd81b1d5114c0d7557f5c1b70bd9f6 to your computer and use it in GitHub Desktop.
it works fine until it doesn't
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~/c/r/x/r/n/MoarVM (ab5tract/zig-support)> $RAKUPREFIX/bin/moar --version | |
| This is MoarVM version 2025.10-12-g3aac34699 built with JIT support | |
| ~/c/r/x/r/n/MoarVM (ab5tract/zig-support)> cd .. | |
| ~/c/r/x/r/nqp (main)> make | |
| +++ Preparing MOAR build directories | |
| ++++++ Building MOAR backend | |
| +++ Generating gen/moar/stage1/MASTNodes.nqp | |
| +++ Compiling gen/moar/stage1/MASTOps.moarvm | |
| /home/longwalker/code/raku/z.misc/raku-prefix/bin/moar: error while loading shared libraries: | |
| ./libmoar.so: cannot open shared object file: No such file or directory | |
| make: *** [Makefile:386: gen/moar/stage1/MASTOps.moarvm] Error 127 | |
| ~/c/r/x/r/nqp (main) [2]> $RAKUPREFIX/bin/moar --version | |
| /home/longwalker/code/raku/z.misc/raku-prefix/bin/moar: error while loading shared libraries: | |
| ./libmoar.so: cannot open shared object file: No such file or directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $> ldd $RAKUPREFIX/bin/moar | |
| linux-vdso.so.1 (0x00007f5a68e9b000) | |
| ./libmoar.so (0x00007f5a68400000) | |
| libc.so.6 => /usr/lib/libc.so.6 (0x00007f5a68000000) | |
| libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f5a68d74000) | |
| libm.so.6 => /usr/lib/libm.so.6 (0x00007f5a682f2000) | |
| /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f5a68e9d000) | |
| $> ls $RAKUPREFIX/lib | |
| libmoar.a libmoar.so libmoar.so-gdb.py | |
| $> objdump -x $RAKUPREFIX/bin/moar | grep 'R.*PATH' | |
| RUNPATH $ORIGIN/../lib:. | |
| $> perl Configure.pl --backends=moar --prefix=$RAKUPREFIX | |
| /home/longwalker/code/raku/z.misc/raku-prefix/bin/moar: error while loading shared libraries: ./libmoar.so: cannot open shared object file: No such file or directory | |
| Command failed: '/home/longwalker/code/raku/z.misc/raku-prefix/bin/moar --version' exited with value 127 | |
| at /home/longwalker/code/raku/x.core/rakudo/nqp/3rdparty/nqp-configure/lib/NQP/Config.pm line 34. | |
| NQP::Config::ANON("Command failed: '/home/longwalker/code/raku/z.misc/raku-prefi"...) called at /home/longwalker/code/raku/x.core/rakudo/nqp/3rdparty/nqp-configure/lib/NQP/Config.pm line 1556 | |
| NQP::Config::run_or_die(ARRAY(0x564e8e4ec590)) called at /home/longwalker/code/raku/x.core/rakudo/nqp/tools/lib/NQP/Config/NQP.pm line 355 | |
| NQP::Config::NQP::gen_moar(NQP::Config::NQP=HASH(0x564e8db18540)) called at /home/longwalker/code/raku/x.core/rakudo/nqp/tools/lib/NQP/Config/NQP.pm line 105 | |
| NQP::Config::NQP::configure_moar_backend(NQP::Config::NQP=HASH(0x564e8db18540)) called at /home/longwalker/code/raku/x.core/rakudo/nqp/3rdparty/nqp-configure/lib/NQP/Config.pm line 666 | |
| NQP::Config::configure_active_backends(NQP::Config::NQP=HASH(0x564e8db18540)) called at Configure.pl line 137 | |
| $> ldd $RAKUPREFIX/bin/moar | |
| linux-vdso.so.1 (0x00007f6dd9b35000) | |
| ./libmoar.so => not found | |
| libc.so.6 => /usr/lib/libc.so.6 (0x00007f6dd9800000) | |
| /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f6dd9b37000) | |
| $> objdump -x $RAKUPREFIX/bin/moar | grep 'R.*PATH' | |
| RUNPATH $ORIGIN/../lib:. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > set -gx LD_DEBUG 'all' | |
| longwalker@beastly ~/c/r/x/r/nqp (main) [127]> $RAKUPREFIX/bin/moar --version | |
| 323866: symbol=__vdso_clock_gettime; lookup in file=linux-vdso.so.1 [0] | |
| 323866: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_clock_gettime' [LINUX_2.6] | |
| 323866: symbol=__vdso_gettimeofday; lookup in file=linux-vdso.so.1 [0] | |
| 323866: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_gettimeofday' [LINUX_2.6] | |
| 323866: symbol=__vdso_time; lookup in file=linux-vdso.so.1 [0] | |
| 323866: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_time' [LINUX_2.6] | |
| 323866: symbol=__vdso_getcpu; lookup in file=linux-vdso.so.1 [0] | |
| 323866: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_getcpu' [LINUX_2.6] | |
| 323866: symbol=__vdso_clock_getres; lookup in file=linux-vdso.so.1 [0] | |
| 323866: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_clock_getres' [LINUX_2.6] | |
| 323866: symbol=__vdso_getrandom; lookup in file=linux-vdso.so.1 [0] | |
| 323866: binding file linux-vdso.so.1 [0] to linux-vdso.so.1 [0]: normal symbol `__vdso_getrandom' [LINUX_2.6] | |
| 323866: | |
| 323866: file=./libmoar.so [0]; needed by /home/longwalker/code/raku/z.misc/raku-prefix/bin/moar [0] | |
| /home/longwalker/code/raku/z.misc/raku-prefix/bin/moar: error while loading shared libraries: ./libmoar.so: cannot open shared object file: No such file or directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > set -gx LD_DEBUG 'libs' | |
| longwalker@beastly ~/c/r/x/r/n/MoarVM (ab5tract/zig-support)> $RAKUPREFIX/bin/moar --version | |
| 335860: find library=libc.so.6 [0]; searching | |
| 335860: search path=/home/longwalker/code/raku/z.misc/raku-prefix/bin/../lib/glibc-hwcaps/x86-64-v3:/home/longwalker/code/raku/z.misc/raku-prefix/bin/../lib/glibc-hwcaps/x86-64-v2:/home/longwalker/code/raku/z.misc/raku-prefix/bin/../lib:./glibc-hwcaps/x86-64-v3:./glibc-hwcaps/x86-64-v2:. (RUNPATH from file /home/longwalker/code/raku/z.misc/raku-prefix/bin/moar) | |
| 335860: trying file=/home/longwalker/code/raku/z.misc/raku-prefix/bin/../lib/glibc-hwcaps/x86-64-v3/libc.so.6 | |
| 335860: trying file=/home/longwalker/code/raku/z.misc/raku-prefix/bin/../lib/glibc-hwcaps/x86-64-v2/libc.so.6 | |
| 335860: trying file=/home/longwalker/code/raku/z.misc/raku-prefix/bin/../lib/libc.so.6 | |
| 335860: trying file=./glibc-hwcaps/x86-64-v3/libc.so.6 | |
| 335860: trying file=./glibc-hwcaps/x86-64-v2/libc.so.6 | |
| 335860: trying file=./libc.so.6 | |
| 335860: search cache=/etc/ld.so.cache | |
| 335860: trying file=/usr/lib/libc.so.6 | |
| 335860: | |
| 335860: find library=libzstd.so.1 [0]; searching | |
| 335860: search path=/home/longwalker/code/raku/x.core/rakudo/nqp/MoarVM/./../lib/glibc-hwcaps/x86-64-v3:/home/longwalker/code/raku/x.core/rakudo/nqp/MoarVM/./../lib/glibc-hwcaps/x86-64-v2:/home/longwalker/code/raku/x.core/rakudo/nqp/MoarVM/./../lib (RUNPATH from file ./libmoar.so) | |
| 335860: trying file=/home/longwalker/code/raku/x.core/rakudo/nqp/MoarVM/./../lib/glibc-hwcaps/x86-64-v3/libzstd.so.1 | |
| 335860: trying file=/home/longwalker/code/raku/x.core/rakudo/nqp/MoarVM/./../lib/glibc-hwcaps/x86-64-v2/libzstd.so.1 | |
| 335860: trying file=/home/longwalker/code/raku/x.core/rakudo/nqp/MoarVM/./../lib/libzstd.so.1 | |
| 335860: search cache=/etc/ld.so.cache | |
| 335860: trying file=/usr/lib/libzstd.so.1 | |
| 335860: | |
| 335860: find library=libm.so.6 [0]; searching | |
| 335860: search cache=/etc/ld.so.cache | |
| 335860: trying file=/usr/lib/libm.so.6 | |
| 335860: | |
| 335860: | |
| 335860: calling init: /lib64/ld-linux-x86-64.so.2 | |
| 335860: | |
| 335860: | |
| 335860: calling init: /usr/lib/libc.so.6 | |
| 335860: | |
| 335860: | |
| 335860: calling init: /usr/lib/libm.so.6 | |
| 335860: | |
| 335860: | |
| 335860: calling init: /usr/lib/libzstd.so.1 | |
| 335860: | |
| 335860: | |
| 335860: calling init: ./libmoar.so | |
| 335860: | |
| 335860: | |
| 335860: initialize program: /home/longwalker/code/raku/z.misc/raku-prefix/bin/moar | |
| 335860: | |
| 335860: | |
| 335860: transferring control: /home/longwalker/code/raku/z.misc/raku-prefix/bin/moar | |
| 335860: | |
| This is MoarVM version 2025.10-12-g3aac34699 built with JIT support | |
| 335860: | |
| 335860: calling fini: [0] | |
| 335860: | |
| 335860: | |
| 335860: calling fini: ./libmoar.so [0] | |
| 335860: | |
| 335860: | |
| 335860: calling fini: /usr/lib/libzstd.so.1 [0] | |
| 335860: | |
| 335860: | |
| 335860: calling fini: /usr/lib/libm.so.6 [0] | |
| 335860: | |
| 335860: | |
| 335860: calling fini: /usr/lib/libc.so.6 [0] | |
| 335860: | |
| 335860: | |
| 335860: calling fini: /lib64/ld-linux-x86-64.so.2 [0] | |
| 335860: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > $RAKUPREFIX/bin/moar --version | |
| This is MoarVM version 2025.10-12-g3aac34699 built with JIT support | |
| longwalker@beastly ~/c/r/x/r/n/MoarVM (ab5tract/zig-support)> cd .. | |
| longwalker@beastly ~/c/r/x/r/nqp (main)> make | |
| +++ Preparing MOAR build directories | |
| ++++++ Building MOAR backend | |
| +++ Generating gen/moar/stage1/MASTNodes.nqp | |
| +++ Compiling gen/moar/stage1/MASTOps.moarvm | |
| /home/longwalker/code/raku/z.misc/raku-prefix/bin/moar: error while loading shared libraries: ./libmoar.so: cannot open shared object file: No such file or directory | |
| make: *** [Makefile:386: gen/moar/stage1/MASTOps.moarvm] Error 127 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $> ldd $RAKUPREFIX/bin/moar | |
| linux-vdso.so.1 (0x00007fcc7ecad000) | |
| libmoar.so => //home/longwalker/code/raku/z.misc/raku-prefix/lib/libmoar.so (0x00007fcc7e200000) | |
| libc.so.6 => /usr/lib/libc.so.6 (0x00007fcc7de00000) | |
| libm.so.6 => /usr/lib/libm.so.6 (0x00007fcc7e0f2000) | |
| libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007fcc7dd1b000) | |
| /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fcc7ecaf000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment