My company servers are running a really old Linux (kernel rev 2.6.32).
On my machine, I installed ocaml-variants.4.10.0+musl+static+flambda, configure dune with the -ccopt and -static flags. However when I copy the exe to the company server, I still get this message:
./lwtTest.exe: /lib/ld-musl-x86_64.so.1: bad ELF interpreter: No such file or directory
Also, I can’t modify server settings, and I did try to set the LD_LIBRARY_PATH to my home folder with the lib being there.
Is there anything else I haven’t tried? Executables built by rust-musl are running just fine, but I prefer OCaml.