Skip to content

Cannot install SymEngine #214

@saschatimme

Description

@saschatimme

A fresh install of SymEngine fails due to a new release of GMP_jll which bumps GMP to 6.2.

(tmp) pkg> add SymEngine
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
  Installed SymEngine ─ v0.8.2
   Updating `~/Desktop/tmp/Project.toml`
  [123dc426] + SymEngine v0.8.2
   Updating `~/Desktop/tmp/Manifest.toml`
  [34da2185] + Compat v3.12.0
  [e66e0078] + CompilerSupportLibraries_jll v0.3.3+0
  [781609d7] + GMP_jll v6.2.0+0
  [2ce0c516] + MPC_jll v1.1.0+0
  [3a97d323] + MPFR_jll v4.0.2+2
  [efe28fd5] + OpenSpecFun_jll v0.5.3+3
  [3cdcf5f2] + RecipesBase v1.0.1
  [276daf66] + SpecialFunctions v0.10.3
  [123dc426] + SymEngine v0.8.2
  [3428059b] + SymEngine_jll v0.6.0+1
  [2a0f44e3] + Base64 
  [ade2ca70] + Dates 
  [8bb1440f] + DelimitedFiles 
  [8ba89e20] + Distributed 
  [b77e0a4c] + InteractiveUtils 
  [76f85450] + LibGit2 
  [8f399da3] + Libdl 
  [37e2e46d] + LinearAlgebra 
  [56ddb016] + Logging 
  [d6f4376e] + Markdown 
  [a63ad114] + Mmap 
  [44cfe95a] + Pkg 
  [de0858da] + Printf 
  [3fa0cd96] + REPL 
  [9a3f8284] + Random 
  [ea8e919c] + SHA 
  [9e88b42a] + Serialization 
  [1a1011a3] + SharedArrays 
  [6462fe0b] + Sockets 
  [2f01184e] + SparseArrays 
  [10745b16] + Statistics 
  [8dfed614] + Test 
  [cf7118a7] + UUIDs 
  [4ec0a83e] + Unicode 

julia> using SymEngine
[ Info: Precompiling SymEngine [123dc426-2d89-5057-bbad-38513e3affd8]
ERROR: LoadError: LoadError: InitError: could not load library "/Users/sascha/.julia/artifacts/3677b4b693751024a0923d9e7c6d56da89f15b8e/lib/libgmpxx.4.dylib"
dlopen(/Users/sascha/.julia/artifacts/3677b4b693751024a0923d9e7c6d56da89f15b8e/lib/libgmpxx.4.dylib, 1): Library not loaded: @rpath/libgmp.10.dylib
  Referenced from: /Users/sascha/.julia/artifacts/3677b4b693751024a0923d9e7c6d56da89f15b8e/lib/libgmpxx.4.dylib
  Reason: Incompatible library version: libgmpxx.4.dylib requires version 15.0.0 or later, but libgmp.dylib provides version 14.0.0
Stacktrace:
 [1] dlopen(::String, ::UInt32; throw_error::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/Libdl/src/Libdl.jl:109
 [2] dlopen at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/Libdl/src/Libdl.jl:109 [inlined] (repeats 2 times)
 [3] __init__() at /Users/sascha/.julia/packages/GMP_jll/RM3EG/src/wrappers/x86_64-apple-darwin14-cxx11.jl:59
 [4] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:697
 [5] _require_from_serialized(::String) at ./loading.jl:748
 [6] _require(::Base.PkgId) at ./loading.jl:1039
 [7] require(::Base.PkgId) at ./loading.jl:927
 [8] require(::Module, ::Symbol) at ./loading.jl:922
 [9] include(::Module, ::String) at ./Base.jl:377
 [10] include(::String) at /Users/sascha/.julia/packages/SymEngine_jll/knkje/src/SymEngine_jll.jl:1
 [11] top-level scope at /Users/sascha/.julia/packages/SymEngine_jll/knkje/src/SymEngine_jll.jl:50
 [12] include(::Module, ::String) at ./Base.jl:377
 [13] top-level scope at none:2
 [14] eval at ./boot.jl:331 [inlined]
 [15] eval(::Expr) at ./client.jl:449
 [16] top-level scope at ./none:3
during initialization of module GMP_jll
in expression starting at /Users/sascha/.julia/packages/SymEngine_jll/knkje/src/wrappers/x86_64-apple-darwin14-cxx11.jl:4
in expression starting at /Users/sascha/.julia/packages/SymEngine_jll/knkje/src/SymEngine_jll.jl:43
ERROR: LoadError: Failed to precompile SymEngine_jll [3428059b-622b-5399-b16f-d347a77089a4] to /Users/sascha/.julia/compiled/v1.4/SymEngine_jll/0tWn8_Jpqt2.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922
 [6] include(::Module, ::String) at ./Base.jl:377
 [7] top-level scope at none:2
 [8] eval at ./boot.jl:331 [inlined]
 [9] eval(::Expr) at ./client.jl:449
 [10] top-level scope at ./none:3
in expression starting at /Users/sascha/.julia/packages/SymEngine/lLmHe/src/SymEngine.jl:3
ERROR: Failed to precompile SymEngine [123dc426-2d89-5057-bbad-38513e3affd8] to /Users/sascha/.julia/compiled/v1.4/SymEngine/uZhcI_Jpqt2.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922
 [6] eval(::Module, ::Any) at ./boot.jl:331
 [7] eval_user_input(::Any, ::REPL.REPLBackend) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:86
 [8] run_backend(::REPL.REPLBackend) at /Users/sascha/.julia/packages/Revise/tV8FE/src/Revise.jl:1165
 [9] top-level scope at none:0

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