Open Nuxssss opened 1 month ago
Thank you for submitting an issue! :)
First of all, welcome!
And... thanks for the issue! :)
I admit I'm a bit baffled by it, especially being Linux (which normally gives us zero problems whatsoever...).
Could you please try downloading a Linux binary directly to see if - at least - it works as-is?
For example: https://github.com/arturo-lang/arturo/actions/runs/9139956571/artifacts/1515782308 (full version, amd64)
Also: could you run the exact same command above using --log
, to see if there is any other error we might be missing, and post the result here?
@drkameleon
I cannot run this binary on my system because it lacks the standard linux file hierarchy and all libraries are in their own isolated directories, for example /nix/store/ddcr4jw70djdxbk78s000wrpr30hjjk2-mpfr-4.2.1/lib/libmpfr.so.6
To avoid having to change paths to dependencies with patchelf, i can usually just compile the program from scratch, and then everything should work.
./build.nims --log writes exactly the same output
@drkameleon I cannot run this binary on my system because it lacks the standard linux file hierarchy and all libraries are in their own isolated directories, for example
/nix/store/ddcr4jw70djdxbk78s000wrpr30hjjk2-mpfr-4.2.1/lib/libmpfr.so.6
To avoid having to change paths to dependencies with patchelf, i can usually just compile the program from scratch, and then everything should work. ./build.nims --log writes exactly the same output
@Nuxssss I see... 🤔
Could you please try it with ./build.nims --mode mini --log
again?
The mini version is the version without any dependencies whatsoever. So, if we get this one to compile, we could see what is going on with the full version 😉
@drkameleon the mini version is being built successfully
@drkameleon the mini version is being built successfully
So, this is simply an issue with nix's file hierarchy...
Desktop
Logs: