# Arpack\_jll artifacts unable to see OpenBLAS\_jll artifacts for linking

**URL:** <https://discourse.julialang.org/t/arpack-jll-artifacts-unable-to-see-openblas-jll-artifacts-for-linking/36711>\
**Category:** General Usage\
**Created:** [March 30, 2020, 1:46am UTC](https://discourse.julialang.org/t/arpack-jll-artifacts-unable-to-see-openblas-jll-artifacts-for-linking/36711 "2020-03-30T01:46:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pengwyn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pengwyn/32/6961_2.png) [@pengwyn](https://discourse.julialang.org/u/pengwyn)\
**Post date:** [March 30, 2020, 1:46am UTC](https://discourse.julialang.org/t/arpack-jll-artifacts-unable-to-see-openblas-jll-artifacts-for-linking/36711/1 "2020-03-30T01:46:58Z")

</div>

I’m on Archlinux and I’m currently trying to import the Arpack module but getting an error with a missing library:

```julia
ERROR: LoadError: InitError: could not load library "/home/pengwyn/.julia/artifacts/8a63e55e4ce37cc04c039ac5f48c2a8b8e9b3b37/lib/libarpack.so"
libopenblas64_.so.0: cannot open shared object file: No such file or directory

```

From what I understand, this is an artifact being loaded by `Arpack_jll`, which itself depends on `OpenBLAS_jll` which should include the dependency of `libopenblas64_.so.0`. However, the issue appears to be the system (i.e. the external `dlopen`, not the internal Julia `dlopen`) is looking for the library and can’t find it.

I can confirm that I can issue these commands without an error:

```julia
julia> using OpenBLAS_jll
julia> using Libdl
julia> dlopen("libopenblas64_.so")
Ptr{Nothing} @0x00005611d02e57b0

```

but `dlopen("libopenblas64_.so.0")` gives an error.

If I manually include the artifact lib directory into `Libdl.DL_LOAD_PATH` then I am able to do an in-Julia `dlopen("libopenblas64_.so.0")` successfully, but importing the `Arpack_jll` module still fails.

The only way I’ve been able to make this work so far, is to make sure the artifact lib directory is in the `LD_LIBRARY_PATH` environment variable **before** starting Julia.

Is there a bug here? Or is there a configuration issue on my end?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [March 30, 2020, 8:07am UTC](https://discourse.julialang.org/t/arpack-jll-artifacts-unable-to-see-openblas-jll-artifacts-for-linking/36711/2 "2020-03-30T08:07:49Z")

</div>

> [@pengwyn](#):
>
> Is there a bug here? Or is there a configuration issue on my end?

I would suggest opening an issue for the Arpack repository to investigate this, with all relevant information, eg

1. `pkg> st --manifest Arpack`,
2. `versioninfo()`

---

<div class="post-metadata">

**Author:** ![Elrod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/elrod/32/22461_2.png) [@Elrod](https://discourse.julialang.org/u/Elrod)\
**Post date:** [March 30, 2020, 8:14am UTC](https://discourse.julialang.org/t/arpack-jll-artifacts-unable-to-see-openblas-jll-artifacts-for-linking/36711/3 "2020-03-30T08:14:31Z")

</div>

> [@Tamas\_Papp](#):
>
> with all relevant information, eg

Also

```julia
using LinearAlgebra; BLAS.vendor()

```

I’ve been getting that problem with MKL, but not OpenBLAS.

---

<div class="post-metadata">

**Author:** ![pengwyn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pengwyn/32/6961_2.png) [@pengwyn](https://discourse.julialang.org/u/pengwyn)\
**Post date:** [March 30, 2020, 10:45pm UTC](https://discourse.julialang.org/t/arpack-jll-artifacts-unable-to-see-openblas-jll-artifacts-for-linking/36711/4 "2020-03-30T22:45:32Z")

</div>

Thanks for the comments - I’ve created a new issue on the Arpack repo. Here’s the link if anyone wants to see: [Arpack\_jll artifacts unable to see OpenBLAS\_jll artifacts for linking · Issue #97 · JuliaLinearAlgebra/Arpack.jl · GitHub](https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/97)
