orx: Rebol binaries fail on NixOS
While running ./setup.sh, the shell script fails on NixOS:
$ ./setup.sh
bash: ./code/build/rebol/r3-linux64: cannot execute: required file not found
Here’s what I get when I run the ldd command:
$ ldd code/build/rebol/r3-linux64
linux-vdso.so.1 (0x00007ffdabfa6000)
libdl.so.2 => /nix/store/qn3ggz5sf3hkjs2c797xf7nan3amdxmp-glibc-2.38-27/lib/libdl.so.2 (0x00007fd014ab7000)
libm.so.6 => /nix/store/qn3ggz5sf3hkjs2c797xf7nan3amdxmp-glibc-2.38-27/lib/libm.so.6 (0x00007fd0149d7000)
libc.so.6 => /nix/store/qn3ggz5sf3hkjs2c797xf7nan3amdxmp-glibc-2.38-27/lib/libc.so.6 (0x00007fd0147ef000)
/lib64/ld-linux-x86-64.so.2 => /nix/store/qn3ggz5sf3hkjs2c797xf7nan3amdxmp-glibc-2.38-27/lib64/ld-linux-x86-64.so.2 (0x00007fd014abe000)
About this issue
- Original URL
- State: closed
- Created 7 months ago
- Comments: 17 (7 by maintainers)
I am using these helpers in my Siskin Builder tool.
Hi… I’ve never heard about NixOS so I am not sure, what exactly do you need… but if you want to compile Rebol (my fork) for a new system, you can use this bootstrap source.
Rebol sources are partially generated using Rebol itself… the mentioned boostrap branch contains these generated files so one can just edit the makefile and make the initial version for the new OS… and use this bootstrap version to make a real version.
@iarwain apologies, I thought that you were using rebol packages from rebol/rebol. Looks like @Oldes has added tags for us, which is exactly what I was looking for. I’ll create a simple rebol Nix expression and see how we can continue from there.