{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLinearAlgebra/Arpack.jl/issues/5","repository_url":"https://api.github.com/repos/JuliaLinearAlgebra/Arpack.jl","labels_url":"https://api.github.com/repos/JuliaLinearAlgebra/Arpack.jl/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLinearAlgebra/Arpack.jl/issues/5/comments","events_url":"https://api.github.com/repos/JuliaLinearAlgebra/Arpack.jl/issues/5/events","html_url":"https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/5","id":335223092,"node_id":"MDU6SXNzdWUzMzUyMjMwOTI=","number":5,"title":"Installation error when Julia is built from source","user":{"login":"yurivish","id":114388,"node_id":"MDQ6VXNlcjExNDM4OA==","avatar_url":"https://avatars1.githubusercontent.com/u/114388?v=4","gravatar_id":"","url":"https://api.github.com/users/yurivish","html_url":"https://github.com/yurivish","followers_url":"https://api.github.com/users/yurivish/followers","following_url":"https://api.github.com/users/yurivish/following{/other_user}","gists_url":"https://api.github.com/users/yurivish/gists{/gist_id}","starred_url":"https://api.github.com/users/yurivish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurivish/subscriptions","organizations_url":"https://api.github.com/users/yurivish/orgs","repos_url":"https://api.github.com/users/yurivish/repos","events_url":"https://api.github.com/users/yurivish/events{/privacy}","received_events_url":"https://api.github.com/users/yurivish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":93,"created_at":"2018-06-24T23:42:53Z","updated_at":"2018-11-09T21:04:46Z","closed_at":null,"author_association":"NONE","body":"I tried installing Arpack on 0.7 beta and saw this error trying to run `eigs`:\r\n```\r\njulia> A = Diagonal(1:4);\r\nWARNING: Base.Diagonal is deprecated: it has been moved to the standard library package `LinearAlgebra`.\r\nAdd `using LinearAlgebra` to your imports.\r\n in module Main\r\n\r\njulia> λ, ϕ = eigs(A, nev = 2);\r\nERROR: error compiling saupd: could not load library \"\"\r\ndlopen(.dylib, 1): image not found\r\nStacktrace:\r\n [1] aupd_wrapper(::Any, ::getfield(Arpack, Symbol(\"#matvecA!#24\")){LinearAlgebra.Diagonal{Float64,Array{Float64,1}}}, ::getfield(Arpack, Symbol(\"##18#25\")), ::getfield(Arpack, Symbol(\"##19#26\")), ::Int64, ::Bool, ::Bool, ::String, ::Int64, ::Int64, ::String, ::Float64, ::Int64, ::Int64, ::Array{Float64,1}) at /Users/yurivish/.julia/packages/Arpack/Rkbg/src/libarpack.jl:42\r\n [2] #_eigs#17(::Int64, ::Int64, ::Symbol, ::Float64, ::Int64, ::Nothing, ::Array{Float64,1}, ::Bool, ::Any, ::Any, ::Any) at /Users/yurivish/.julia/packages/Arpack/Rkbg/src/Arpack.jl:176\r\n [3] (::getfield(Arpack, Symbol(\"#kw##eigs\")))(::NamedTuple{(:nev,),Tuple{Int64}}, ::typeof(eigs), ::LinearAlgebra.Diagonal{Int64,UnitRange{Int64}}) at ./none:0\r\n [4] top-level scope at none:0\r\n```\r\n\r\nTo see if this was solved on master, I tried installing it. But this happens when I try to `develop Arpack#master`:\r\n\r\n```\r\nError: Error building `Arpack`:\r\n│ [ Info: Downloading https://github.com/JuliaLinearAlgebra/ArpackBuilder/releases/download/v3.5.0-0.2.20/ArpackBuilder.x86_64-apple-darwin14.tar.gz to /Users/yurivish/.julia/dev/Arpack/deps/usr/downloads/ArpackBuilder.x86_64-apple-darwin14.tar.gz...\r\n│ ┌ Warning: `wait(t::Task)` is deprecated, use `fetch(t)` instead.\r\n│ │   caller = macro expansion at OutputCollector.jl:63 [inlined]\r\n│ └ @ Core OutputCollector.jl:63\r\n│ ┌ Warning: `wait(t::Task)` is deprecated, use `fetch(t)` instead.\r\n│ │   caller = wait(::OutputCollector) at OutputCollector.jl:158\r\n│ └ @ BinaryProvider OutputCollector.jl:158\r\n│ ┌ Warning: `wait(t::Task)` is deprecated, use `fetch(t)` instead.\r\n│ │   caller = wait(::OutputCollector) at OutputCollector.jl:159\r\n│ └ @ BinaryProvider OutputCollector.jl:159\r\n│ ┌ Warning: `wait(t::Task)` is deprecated, use `fetch(t)` instead.\r\n│ │   caller = wait(::OutputCollector) at OutputCollector.jl:163\r\n│ └ @ BinaryProvider OutputCollector.jl:163\r\n│ ERROR: LoadError: LibraryProduct(nothing, [\"libarpack\"], :libarpack, \"Prefix(/Users/yurivish/.julia/dev/Arpack/deps/usr)\") is not satisfied, cannot generate deps.jl!\r\n│ Stacktrace:\r\n│  [1] error at ./error.jl:33 [inlined]\r\n│  [2] #write_deps_file#134(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /Users/yurivish/.julia/packages/BinaryProvider/2Hlv/src/Products.jl:389\r\n│  [3] write_deps_file(::String, ::Array{LibraryProduct,1}) at /Users/yurivish/.julia/packages/BinaryProvider/2Hlv/src/Products.jl:376\r\n│  [4] top-level scope at none:0\r\n│  [5] include at ./boot.jl:317 [inlined]\r\n│  [6] include_relative(::Module, ::String) at ./loading.jl:1075\r\n│  [7] include(::Module, ::String) at ./sysimg.jl:29\r\n│  [8] include(::String) at ./client.jl:393\r\n│  [9] top-level scope at none:0\r\n│ in expression starting at /Users/yurivish/.julia/dev/Arpack/deps/build.jl:40\r\n```\r\n\r\n```\r\njulia> versioninfo()\r\nJulia Version 0.7.0-beta.0\r\nCommit f41b1ecaec (2018-06-24 01:32 UTC)\r\nPlatform Info:\r\n  OS: macOS (x86_64-apple-darwin16.7.0)\r\n  CPU: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz\r\n  WORD_SIZE: 64\r\n  LIBM: libopenlibm\r\n  LLVM: libLLVM-6.0.0 (ORCJIT, ivybridge)\r\nEnvironment:\r\n  JULIA_EDITOR = subl\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaLinearAlgebra/Arpack.jl/issues/comments/437494746","html_url":"https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/5#issuecomment-437494746","issue_url":"https://api.github.com/repos/JuliaLinearAlgebra/Arpack.jl/issues/5","id":437494746,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzQ5NDc0Ng==","user":{"login":"crstnbr","id":187980,"node_id":"MDQ6VXNlcjE4Nzk4MA==","avatar_url":"https://avatars2.githubusercontent.com/u/187980?v=4","gravatar_id":"","url":"https://api.github.com/users/crstnbr","html_url":"https://github.com/crstnbr","followers_url":"https://api.github.com/users/crstnbr/followers","following_url":"https://api.github.com/users/crstnbr/following{/other_user}","gists_url":"https://api.github.com/users/crstnbr/gists{/gist_id}","starred_url":"https://api.github.com/users/crstnbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crstnbr/subscriptions","organizations_url":"https://api.github.com/users/crstnbr/orgs","repos_url":"https://api.github.com/users/crstnbr/repos","events_url":"https://api.github.com/users/crstnbr/events{/privacy}","received_events_url":"https://api.github.com/users/crstnbr/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T21:04:46Z","updated_at":"2018-11-09T21:04:46Z","author_association":"NONE","body":"Maybe I don't understand but the \"fix\" doesn't work for me. If I install and build Arpack with Julia + OpenBLAS (binaries) and then use my compiled Julia + MKL to use it I get:\r\n\r\n```julia\r\njulia> using Arpack\r\n[ Info: Recompiling stale cache file /gpfs/homea/hku27/hku273/.julia-mkl/compiled/v1.0/Arpack/X5VZL.ji for Arpack [7d9fca2a-8960-54d3-9f78-7d1dccf2cb97]\r\n\r\njulia> eigs(rand(100,100))\r\nERROR: error compiling aupd_wrapper: error compiling naupd: could not load library \"/gpfs/homea/hku27/hku273/.julia-mkl/packages/Arpack/0oGDs/deps/usr/lib/libarpack.so\"\r\nlibopenblas64_.so.0: cannot open shared object file: No such file or directory\r\nStacktrace:\r\n [1] #_eigs#17(::Int64, ::Int64, ::Symbol, ::Float64, ::Int64, ::Nothing, ::Array{Float64,1}, ::Bool, ::typeof(Arpack._eigs), ::Array{Float64,2}, ::LinearAlgebra.UniformScaling{Bool}) at /gpfs/homea/hku27/hku273/.julia-mkl/packages/Arpack/0oGDs/src/Arpack.jl:120\r\n [2] _eigs at /gpfs/homea/hku27/hku273/.julia-mkl/packages/Arpack/0oGDs/src/Arpack.jl:88 [inlined]\r\n [3] #eigs#10 at /gpfs/homea/hku27/hku273/.julia-mkl/packages/Arpack/0oGDs/src/Arpack.jl:63 [inlined]\r\n [4] eigs at /gpfs/homea/hku27/hku273/.julia-mkl/packages/Arpack/0oGDs/src/Arpack.jl:63 [inlined]\r\n [5] #eigs#9 at /gpfs/homea/hku27/hku273/.julia-mkl/packages/Arpack/0oGDs/src/Arpack.jl:62 [inlined]\r\n [6] eigs(::Array{Float64,2}) at /gpfs/homea/hku27/hku273/.julia-mkl/packages/Arpack/0oGDs/src/Arpack.jl:62\r\n [7] top-level scope at none:0\r\n```"}}
{"actor":{"display_login":"crstnbr"}}