Closed K0-RR closed 2 years ago
This is because ld-linux is in a non-standard location on NixOS. Check where ld-linux-x86-64.so.2
is and patch the launcher binary to use it. For example:
patchelf --set-interpreter /nix/store/89xkcsio12lzjkswqfs-glibc-2.34/lib/ld-linux-x86-64.so.2 ./VLauncher_1.1.17_x64_Linux
I guess you will also need to set rpath to where all required libraries are, like:
patchelf --set-rpath /nix/store/7lbi3gn351j4hix3dqhis58adxbmvbxa-sane-backends-1.0.25/lib:/nix/store/0990ls1p2nnxq6605mr9lxpps8p7qvw7-qtbase-5.9.1/lib ./VLauncher_1.1.17_x64_Linux
More info is here.