You are not logged in.

#1 2025-02-05 16:12:58

physfizz
Member
Registered: 2014-01-07
Posts: 9

julia runtime error with libopenlibm.so

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 argument

I 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 argument

What's going on?

Offline

#2 2025-02-05 17:28:06

mackin_cheese
Member
Registered: 2025-01-07
Posts: 475

Re: julia runtime error with libopenlibm.so

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

#3 2025-02-05 17:35:26

mackin_cheese
Member
Registered: 2025-01-07
Posts: 475

Re: julia runtime error with libopenlibm.so

not sure if this is you but there's also this page: https://github.com/JuliaLang/juliaup/issues/1167

Offline

#4 2025-02-05 17:36:45

mackin_cheese
Member
Registered: 2025-01-07
Posts: 475

Re: julia runtime error with libopenlibm.so

further research also indicates this as a known bug apparently: https://github.com/JuliaLang/julia/issues/57250

Offline

#5 2025-02-05 17:37:51

mackin_cheese
Member
Registered: 2025-01-07
Posts: 475

Re: julia runtime error with libopenlibm.so

and that page also has a workaround for the issue you are facing.

Offline

#6 2025-02-05 17:39:14

physfizz
Member
Registered: 2014-01-07
Posts: 9

Re: julia runtime error with libopenlibm.so

Thanks! I didn't see that when I searched earlier.

Offline

#7 2025-02-07 22:36:01

cedricmc
Member
From: Valencia, Spain
Registered: 2011-11-20
Posts: 62

Re: julia runtime error with libopenlibm.so

install execstack and run

execstack -c ~/.julia/juliaup/julia-1.??.?+0.x64.linux.gnu/lib/julia/libopenlibm.so

Please, mark the thread as solved.

Offline

#8 2025-02-12 08:44:12

jclsn
Member
From: Hamburg
Registered: 2023-04-21
Posts: 12

Re: julia runtime error with libopenlibm.so

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

Board footer

Powered by FluxBB