Bug 1758803

Summary: could not load library "libcholmod"
Product: [Fedora] Fedora Reporter: Alex <apattyn>
Component: juliaAssignee: Milan Bouchet-Valat <nalimilan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: chris, nalimilan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: julia-1.2.0-3.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-26 17:23:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alex 2019-10-05 19:58:24 UTC
Description of problem:
Using toolbox on fedora 31 silver to install julia, the user will see the error "could not load library "libcholmod"" I am guessing there is a missing library that is not a dependency? Searching for libopenblas and libcholmod in the fedora repos didn't turn anything up however. 

I didn't have this issue on Fedora 30 silverblue (also using toolbox).

Version-Release number of selected component (if applicable):
Version 1.2.0 (2019-08-20)

How reproducible:
easy

Steps to Reproduce:
1. toolbox create
2. toolbox enter
3. sudo dnf update && sudo dnf install julia
4. julia
5. julia>> ]
6. julia>> add Plots
7. julia>> using Plots

Where julila>> denotes the julis REPL.

Actual results:
┌ Error: Error during initialization of module CHOLMOD
│   exception =
│    could not load library "libcholmod"
│    libopenblas64_.so.0: cannot open shared object file: No such file or directory
└ @ SuiteSparse.CHOLMOD /builddir/build/BUILD/julia/build/usr/share/julia/stdlib/v1.2/SuiteSparse/src/cholmod.jl:176


Expected results:
No error message, since "using Plots" will just precompile the package. 

Additional info:

Comment 1 Alex 2019-10-06 21:54:53 UTC
Wanted to add that this issue is not present when downloading the binaries v1.3.0-rc3 and v1.2.0 from https://julialang.org/downloads/. Seems like its a packaging issue?

Comment 2 Milan Bouchet-Valat 2019-10-08 08:02:36 UTC
Good catch, thanks. I just need to add a missing /lib64/julia/libopenblas64_.so.0 symlink.

Comment 3 Fedora Update System 2019-10-08 20:09:42 UTC
FEDORA-2019-3b079c0421 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3b079c0421

Comment 4 Fedora Update System 2019-10-09 03:25:34 UTC
julia-1.2.0-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3b079c0421

Comment 5 Alex 2019-10-23 18:03:51 UTC
Just wanted to confirm everything looks good now. Thanks for the fix!

Comment 6 Fedora Update System 2019-10-26 17:23:53 UTC
julia-1.2.0-3.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.