arpack安装错误


#1

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
WORD_SIZE: 64
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


#2

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

the build command might fail when Julia has been built from source
and the recommendation is to use the official binaries from julialang.org.
For more info see https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/5.


#3

用官方的二进制试过了,build的时候下载的依赖和之前的不一样,但是build成功了