FS#70164 - [julia] Fails to find .so files

Attached to Project: Community Packages
Opened by Helmuth Naumer (Naumer) - Friday, 26 March 2021, 01:30 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 31 March 2021, 22:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Antonio Rojas (arojas)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
Fails to find .so files for many _jll standard libraries.
The 64 bit X86 binary from https://julialang.org/downloads/ works.

Steps to Reproduce:
Starting with clean install (no .julia folder)
Start the REPL and load the OpenBLAS_jll library

]$ julia

julia> using OpenBLAS_jll

[ Info: Precompiling OpenBLAS_jll [4536629a-c528-5b80-bd46-f80d51c5b363]
ERROR: InitError: could not load library "libopenblas64_.so"
libopenblas64_.so: cannot open shared object file: No such file or directory
Stacktrace:
[1] __init__()
@ OpenBLAS_jll /usr/share/julia/stdlib/v1.6/OpenBLAS_jll/src/OpenBLAS_jll.jl:35
during initialization of module OpenBLAS_jll
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 31 March 2021, 22:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  julia 1.6.0-7
Comment by Arets Paeglis (mindbound) - Monday, 29 March 2021, 08:08 GMT
  • Field changed: Percent Complete (100% → 0%)
The issue can still be replicated with the 1.6.0-5 version of the package.
Comment by Pepijn de Vos (pepijndevos) - Monday, 29 March 2021, 08:11 GMT
I can confirm this issue still exists on julia 2:1.6.0-5 and just wanted to link upstream issues.
Upstream closed the issues because it works with official binaries, indicating it's a packaging bug.
I can also confirm it indeed works with official 1.6 binaries.

https://github.com/SciML/DifferentialEquations.jl/issues/738
https://github.com/SciML/DifferentialEquations.jl/issues/737
https://www.reddit.com/r/Julia/comments/me8hes/differentialequations_compilation_issue_in_julia/
Comment by Antonio Rojas (arojas) - Monday, 29 March 2021, 09:46 GMT
Our julia package is built from source, so it is not surprising that precompiled third-party packages fail to work with it. I added a workaround in -6, but the right thing to do would be to install third-party stuff from source instead of using binary blobs.
Comment by Arets Paeglis (mindbound) - Wednesday, 31 March 2021, 21:51 GMT
  • Field changed: Percent Complete (100% → 0%)
The issue can still be replicated in 1.6.0-6. Steps: attempt adding and `use`-ing Sundials package.

Loading...