Skip to content

Installation fails, libopenblas_64.so not found #334

@Volker-Weissmann

Description

@Volker-Weissmann
$ rm -r .julia
$ julia --version
julia version 1.7.0
$ julia
...
(@v1.7) pkg> add Sundials
...
julia> import Pkg
julia> Pkg.precompile()
Precompiling project...
  ✗ Sundials
  0 dependencies successfully precompiled in 5 seconds (93 already precompiled)

ERROR: The following 1 direct dependency failed to precompile:

Sundials [c3572dad-4567-51f8-b174-8c6c989267f4]

Failed to precompile Sundials [c3572dad-4567-51f8-b174-8c6c989267f4] to /home/volker/.julia/compiled/v1.7/Sundials/jl_zOEB3B.
ERROR: LoadError: InitError: could not load library "/home/volker/.julia/artifacts/cb7fc2801ca0133a5bdea4bc4585d07c08284cfa/lib/libsundials_sunlinsollapackband.so"
libopenblas64_.so: cannot open shared object file: No such file or directory
Stacktrace:
 [1] macro expansion
   @ ~/.julia/packages/JLLWrappers/bkwIo/src/products/library_generators.jl:54 [inlined]
 [2] __init__()
   @ Sundials_jll ~/.julia/packages/Sundials_jll/rXn1i/src/wrappers/x86_64-linux-gnu-libgfortran5.jl:99
 [3] top-level scope (repeats 2 times)
   @ none:1
during initialization of module Sundials_jll
in expression starting at /home/volker/.julia/packages/Sundials/sg9S0/src/Sundials.jl:3
Stacktrace:
 [1] top-level scope
   @ REPL[4]:1

If I run LD_LIBRARY_PATH="/usr/lib/julia/" julia instead of julia, it works.

$ find -name "libopenblas64*" 2> /dev/null
./usr/lib/julia/libopenblas64_.so

An older version of my.julia folder contains artifacts/9de7cd7b565653107a5f4628320381237cb55cb8/lib/libopenblas64_.so the new version does not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions