You are not logged in.
I have been using the juliaup AUR package to install julia. I am now getting the following error when attempting to execute julia:
$ julia
ERROR: Unable to load dependent library ~/.julia/juliaup/julia-1.10.8+0.x64.linux.gnu/bin/../lib/julia/libopenlibm.so
Message:~/.julia/juliaup/julia-1.10.8+0.x64.linux.gnu/bin/../lib/julia/libopenlibm.so: cannot enable executable stack as shared object requires: Invalid argumentI uninstalled juliaup and installed the julia-bin package instead. I get the same error:
ERROR: Unable to load dependent library /usr/bin/../lib/julia/libopenlibm.so
Message:/usr/bin/../lib/julia/libopenlibm.so: cannot enable executable stack as shared object requires: Invalid argumentWhat's going on?
Offline
what research / troubleshooting have you done so far regarding this issue?
surely your errors are pointing to an application that may need to be installed / updated in order for it to work, and I would like to assume that you have already tried but i can't assume since you haven't explicitly pointed it out.
Do you have openlibm installed / updated?
Offline
not sure if this is you but there's also this page: https://github.com/JuliaLang/juliaup/issues/1167
Offline
further research also indicates this as a known bug apparently: https://github.com/JuliaLang/julia/issues/57250
Offline
and that page also has a workaround for the issue you are facing.
Offline
Thanks! I didn't see that when I searched earlier.
Offline
install execstack and run
execstack -c ~/.julia/juliaup/julia-1.??.?+0.x64.linux.gnu/lib/julia/libopenlibm.soPlease, mark the thread as solved.
Offline
I did it via the patchelf command. They are currently trying to fix it with an update it seems. I love Julia for its performance, but they need to do something about this precompilation and module mess.
Offline