Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia release fails to launch do to invalid library argument #1167

Open
theplatters opened this issue Feb 5, 2025 · 5 comments
Open

Julia release fails to launch do to invalid library argument #1167

theplatters opened this issue Feb 5, 2025 · 5 comments

Comments

@theplatters
Copy link

Whenever I try to start julia (current release 1.11.3) i get the following error:

ERROR: Unable to load dependent library /home/franzs/.julia/juliaup/julia-1.11.3+0.x64.linux.gnu/bin/../lib/julia/libopenlibm.so
Message:/home/franzs/.julia/juliaup/julia-1.11.3+0.x64.linux.gnu/bin/../lib/julia/libopenlibm.so: cannot enable executable stack as shared object requires: Invalid argument

I am using Juliaup 1.17.11 installed through the AUR.

@theplatters
Copy link
Author

I made it work by executing:

execstack -c /home/franzs/.julia/juliaup/julia-1.11.3+0.x64.linux.gnu/lib/julia/libopenlibm.so

apparently the stack is incorrectly marked as executable.

@theplatters
Copy link
Author

The problem is not present, when I install Julia through the official arch repository

@fjebaker
Copy link

fjebaker commented Feb 5, 2025

I get the same error. The above execstack command worked for me too. I also used it to query all of the shared object files and it's only libopenlibm.so that has the executable stack flag set.

@KristofferC
Copy link
Member

See JuliaLang/julia#57250

@divital-coder
Copy link

Juliaup is broken based on this bug for Julia versions above 1.8, all Julia version 1.9, 1.10, 1.11 are resulting in the aforementioned error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants