# Trying to understand jll dependency version

**URL:** https://discourse.julialang.org/t/trying-to-understand-jll-dependency-version/59504
**Category:** General Usage
**Created:** [April 17, 2021, 10:32pm UTC](https://discourse.julialang.org/t/trying-to-understand-jll-dependency-version/59504 "2021-04-17T22:32:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Egwene\_al\_Vere](https://avatars.discourse-cdn.com/v4/letter/e/df788c/32.png) [@Egwene\_al\_Vere](https://discourse.julialang.org/u/Egwene_al_Vere)
#### Post date: [April 17, 2021, 10:32pm UTC](https://discourse.julialang.org/t/trying-to-understand-jll-dependency-version/59504/1 "2021-04-17T22:32:50Z")

</div>

This comes up in my testing of the current nightly, v1.7, where `using DifferentialEquations` fails due to one of its dependencies (`Sundials`). This has been reported by someone [here](https://github.com/SciML/Sundials.jl/issues/303)

The gist might be:

- The current `Sundials_jll` depends on `SuiteSparse_jll`. The version of SuiteSparse is not specified in the build script, but defaults to 5.4.0, same as the current libsuitesparse that comes with julia 1.6  
[`otool -L` shows the offending sundials library `libsundials_sunlinsolklu.3.2.0.dylib` depends on a hard-coded suitesparse version `@rpath/libsuitesparseconfig.5.4.0.dylib`]

- In julia v1.7 the suitesparse library is updated to 5.8.1 [here](https://github.com/JuliaLang/julia/commit/dc81980e0b9ea4f817fc1a36139867469da0f594#diff-077a0e0d8ff036a0ed8b93361a2c26cfc8ce3d96049890896e25c20d06e07461), and the hard-coded dependency SuiteSparse 5.4.0 is not present. Then, `using DifferentialEquations` fails with

```julia
julia> using DifferentialEquations
[Info: Precompiling DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]
ERROR: LoadError: InitError: could not load library 
[...]
dlopen([...]/libsundials_sunlinsolklu.3.2.0.dylib, 1): 
Library not loaded: @rpath/libsuitesparseconfig.5.4.0.dylib
  Referenced from: [...]/libsundials_sunlinsolklu.3.2.0.dylib
  Reason: image not found

```

Maybe this change affects other packages that depends on SuiteSparse too? What might be a good fix for this?

---

<div class="post-metadata">

### Author: ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)
#### Post date: [April 18, 2021, 12:11am UTC](https://discourse.julialang.org/t/trying-to-understand-jll-dependency-version/59504/2 "2021-04-18T00:11:12Z")

</div>

If I understand the problem correctly, a new version of Sundial should be build against the new SuiteSparse
