Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installing DifferentialEquations.jl with Julia 1.8.4 #926

Closed
thibmonsel opened this issue Jan 10, 2023 · 3 comments
Closed

Problem installing DifferentialEquations.jl with Julia 1.8.4 #926

thibmonsel opened this issue Jan 10, 2023 · 3 comments

Comments

@thibmonsel
Copy link

Im rather new in Julia and im having some issues installing the package.
After launching the latest version of Julia 1.8.4, I get this prompt.
Its seems that Sundials doesn't compile.

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.8.4 (2022-12-23)
 _/ |\__'_|_|_|\__'_|  |  
|__/                   |

julia> using DifferentialEquations
[ Info: Precompiling DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]
ERROR: LoadError: InitError: could not load library "libamd.so.2"
libamd.so.2: cannot open shared object file: No such file or directory
Stacktrace:
 [1] __init__()
   @ SuiteSparse_jll /usr/share/julia/stdlib/v1.8/SuiteSparse_jll/src/SuiteSparse_jll.jl:85
 [2] top-level scope
   @ ~/.julia/packages/JLLWrappers/QpMQW/src/toplevel_generators.jl:188
 [3] top-level scope
   @ stdin:1
during initialization of module SuiteSparse_jll
in expression starting at /home/monsel/.julia/packages/Sundials_jll/rXn1i/src/wrappers/x86_64-linux-gnu-libgfortran5.jl:6
in expression starting at /home/monsel/.julia/packages/Sundials_jll/rXn1i/src/Sundials_jll.jl:2
in expression starting at stdin:1
ERROR: LoadError: Failed to precompile Sundials_jll [fb77eaff-e24c-56d4-86b1-d163f2edb164] to /home/monsel/.julia/compiled/v1.8/Sundials_jll/jl_OZQVXh.
Stacktrace:
 [1] top-level scope
   @ stdin:1
in expression starting at /home/monsel/.julia/packages/Sundials/3c9Un/src/Sundials.jl:3
in expression starting at stdin:1
ERROR: LoadError: Failed to precompile Sundials [c3572dad-4567-51f8-b174-8c6c989267f4] to /home/monsel/.julia/compiled/v1.8/Sundials/jl_J54cUZ.
Stacktrace:
 [1] top-level scope
   @ stdin:1
in expression starting at /home/monsel/.julia/packages/DifferentialEquations/fGVGw/src/DifferentialEquations.jl:1
in expression starting at stdin:1
ERROR: Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to /home/monsel/.julia/compiled/v1.8/DifferentialEquations/jl_FqnQUz.
@ChrisRackauckas
Copy link
Member

Using a binary downloaded from here? https://julialang.org/downloads/ . Or a Linux distribution one?

libamd.so.2: cannot open shared object file: No such file or directory

It sounds like the download may have failed, so it may be worth trying ]build DifferentialEquations and see if it ends up downloading the missing file.

@thibmonsel
Copy link
Author

Im using ArchLinux, its seems that default version associated with the system has some problems.
I removed the .julia installation and installed via the binaries you suggested.
It works like a charm !

@ChrisRackauckas
Copy link
Member

Yes ArchLinux builds with the wrong LLVM version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants