Building Arpack ──────────→ ~/.julia/packages/Arpack/UiiMc/deps/build.log
┌ Error: Error building Arpack:
│ ERROR: LoadError: LibraryProduct(nothing, [“libarpack”], :libarpack, “Prefix(/home/fares/.julia/packages/Arpack/UiiMc/deps/usr)”) is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│ [1] #write_deps_file#152(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /home/fares/.julia/packages/BinaryProvider/4F5Hq/src/Products.jl:414
│ [2] (::getfield(BinaryProvider, Symbol("#kw##write_deps_file")))(::NamedTuple{(:verbose,),Tuple{Bool}}, ::typeof(write_deps_file), ::String, ::Array{LibraryProduct,1}) at ./none:0
│ [3] top-level scope at none:0
│ [4] include(::String) at ./client.jl:403
│ [5] top-level scope at none:0
│ in expression starting at /home/fares/.julia/packages/Arpack/UiiMc/deps/build.jl:74
└ @ Pkg.Operations /build/julia/src/julia-1.1.0/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075

julia> versioninfo()
Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel® Celeron® CPU N3150 @ 1.60GHz
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, silvermont)

(v1.1) pkg> status
Status ~/.julia/environments/v1.1/Project.toml
[c52e3926] Atom v0.7.14
[a93c6f00] DataFrames v0.17.1
[7073ff75] IJulia v1.17.0
[1d978283] TensorFlow v0.11.0


可以看看这个 issue,虽然看上去你并不是自己从源码编译的。

the build command might fail when Julia has been built from source
and the recommendation is to use the official binaries from
For more info see




ldd 下 Arpack 的 lib 下的 .so 是不是缺库,一般是库的名字和系统的对不上。
缺什么库,直接 ln -s 到 lib 文件夹,补充上缺的那个库就好了。

for arch:

# cd ~/.julia/packages/Arpack/UiiMc/deps/usr/lib #previous version
cd ~/.julia/packages/Arpack/cu5By/deps/usr/lib
ln -s /usr/lib/

没有 link 之前的 ldd (0x00007ffd073e5000) => not found => /usr/lib/ (0x00007f179ff9e000) => /usr/lib/ (0x00007f179fe58000) => /usr/lib/ (0x00007f179fe3e000) => /usr/lib/ (0x00007f179fdfb000) => /usr/lib/ (0x00007f179fc36000) => /usr/lib/../lib/ (0x00007f179fa1d000)
	/usr/lib64/ (0x00007f17a04ca000)`