Cannot use Distributions.jl


#1

When I tried to use the Distributions package, I was asked to build Arpack. When I built Arpack, I got the error message:

Error: Error building `Arpack`: 
│ ERROR: LoadError: LibraryProduct(nothing, ["libarpack"], :libarpack, "Prefix(/home/bb/.julia/packages/Arpack/UiiMc/deps/usr)") is not satisfied, cannot generate deps.jl!

I am using Julia 1.0.3 on Fedora 29.


#2

See https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/55


#3

Thanks for pointing me to that. It does not work on my machine. I didn’t see this arpack thing in Julia 0.6, why Distributions need it?


#4

Arpack was bundled with Julia on 0.6.


#5

I could use Distributions on Julia 0.6. Is it issue specific to Linux? Will this be fixed in the future?


#6

The issue is caused by Julia and Arpack expecting different BLAS libraries. The easiest solution for now is to use the official Julia binaries (https://julialang.org/downloads/) instead of the Fedora-provided ones.

There is an open pull request to fix the issue: