# GR\_jll not compiling in Julia 1.10.3

**URL:** https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693
**Category:** General Usage
**Created:** [May 1, 2024, 12:02pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693 "2024-05-01T12:02:23Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![scheinerman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scheinerman/32/35303_2.png) [@scheinerman](https://discourse.julialang.org/u/scheinerman)
#### Post date: [May 1, 2024, 12:02pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/1 "2024-05-01T12:02:23Z")

</div>

I just installed Julia 1.10.3 and `GR_jll` is not compiling, so I can’t use `Plots`. The error message I get is this:

```julia
 ERROR: LoadError: InitError: could not load library "/home/WIN/eschein1/.julia/artifacts/e18a60e84fd8aefa967cb9f1d11dc6cbd9cac88b/lib/libtiff.so"
│ libLerc.so: cannot open shared object file: No such file or directory

```

Here is the output of `versioninfo()`:

```julia
Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 32 × Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, sandybridge)
Threads: 1 default, 0 interactive, 1 GC (on 32 virtual cores)
Environment:
  LD_LIBRARY_PATH = :/home/WIN/eschein1/software/gurobi/linux64

```

---

<div class="post-metadata">

### Author: ![scheinerman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scheinerman/32/35303_2.png) [@scheinerman](https://discourse.julialang.org/u/scheinerman)
#### Post date: [May 1, 2024, 12:11pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/2 "2024-05-01T12:11:38Z")

</div>

Furthermore: I deleted my `.julia` directory, used `juliaup` to return to version 1.10.2, but when I tried to install `Plots` I’m getting the same error for `GR_jll`.

---

<div class="post-metadata">

### Author: ![tomaklutfu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomaklutfu/32/2411_2.png) [@tomaklutfu](https://discourse.julialang.org/u/tomaklutfu)
#### Post date: [May 1, 2024, 12:27pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/3 "2024-05-01T12:27:38Z")

</div>

I’ve just updated but did not have a problem. Maybe running this will give more information

```julia
strace julia -e "using GR" 2>&1 | grep libLerc

```

You may also do following in a julia session if some needed files/libraries for GR are missing.

```julia
]build GR

```

---

<div class="post-metadata">

### Author: ![SamBrand](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@SamBrand](https://discourse.julialang.org/u/SamBrand)
#### Post date: [May 1, 2024, 12:30pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/4 "2024-05-01T12:30:54Z")

</div>

I’m having the same problem.

The `strace` gave no output and

> `]build GR`

doesn’t fix the issue (I’m running OSX 14.41 and I’ve tried this on Juila 1.9.3, 1.10.0, 1.10.2 and 1.10.3)

---

<div class="post-metadata">

### Author: ![tomaklutfu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomaklutfu/32/2411_2.png) [@tomaklutfu](https://discourse.julialang.org/u/tomaklutfu)
#### Post date: [May 1, 2024, 12:34pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/5 "2024-05-01T12:34:34Z")

</div>

What does `]status GR` and `]status -m GR_jll` give?

---

<div class="post-metadata">

### Author: ![SamBrand](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@SamBrand](https://discourse.julialang.org/u/SamBrand)
#### Post date: [May 1, 2024, 12:35pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/6 "2024-05-01T12:35:47Z")

</div>

` [28b8d3ca] GR v0.73.3`

and

`[d2c73de3] GR_jll v0.73.3+0`

---

<div class="post-metadata">

### Author: ![SamBrand](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@SamBrand](https://discourse.julialang.org/u/SamBrand)
#### Post date: [May 1, 2024, 12:36pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/7 "2024-05-01T12:36:31Z")

</div>

PS installing `StatsPlots` from Pluto does work fine… which I guess isolates this problem to artefact location?

---

<div class="post-metadata">

### Author: ![tomaklutfu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomaklutfu/32/2411_2.png) [@tomaklutfu](https://discourse.julialang.org/u/tomaklutfu)
#### Post date: [May 1, 2024, 12:39pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/8 "2024-05-01T12:39:04Z")

</div>

Okay I now updated packages too in addition to julia itself. I see an update for `Lerc_jll` and `GR` fails after this update.

---

<div class="post-metadata">

### Author: ![Yuan-Ru-Lin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yuan-ru-lin/32/46068_2.png) [@Yuan-Ru-Lin](https://discourse.julialang.org/u/Yuan-Ru-Lin)
#### Post date: [May 1, 2024, 12:49pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/9 "2024-05-01T12:49:05Z")

</div>

I had `LoadError: InitError: UndefVarError: `GR\_jll` not defined` when `using StatsPlots` in Pluto.

---

<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: [May 1, 2024, 12:58pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/10 "2024-05-01T12:58:32Z")

</div>

> <https://github.com/JuliaPackaging/Yggdrasil/issues/8580#issuecomment-2088401895>
>
> I'm having trouble adding GR and some other packages and I've tracked it down (I… think?) to \`GR\_jll\` loading \`Libtiff\_jll\`. Here's what I see in a fresh session after nuking my \`.julia/artifacts\` and \`.julia/compiled\` folders:
> \`\`\`julia
> ❯ julia --startup=no -q
> 
> (@v1.10) pkg\> activate --temp
> Activating new project at \`/tmp/jl\_z6RYrd\`
> 
> (jl\_z6RYrd) pkg\> add GR\_jll
> Resolving package versions...
> Updating \`/tmp/jl\_z6RYrd/Project.toml\`
> \[d2c73de3\] + GR\_jll v0.73.3+0
> Updating \`/tmp/jl\_z6RYrd/Manifest.toml\`
> \[692b3bcd\] + JLLWrappers v1.5.0
> \[21216c6a\] + Preferences v1.4.3
> \[6e34b625\] + Bzip2\_jll v1.0.8+1
> \[83423d85\] + Cairo\_jll v1.18.0+1
> \[2702e6a9\] + EpollShim\_jll v0.0.20230411+0
> \[2e619515\] + Expat\_jll v2.6.2+0
> \[b22a6f82\] + FFMPEG\_jll v6.1.1+0
> \[a3f928ae\] + Fontconfig\_jll v2.13.93+0
> \[d7e528f0\] + FreeType2\_jll v2.13.1+0
> \[559328eb\] + FriBidi\_jll v1.0.10+0
> \[0656b61e\] + GLFW\_jll v3.3.9+0
> \[d2c73de3\] + GR\_jll v0.73.3+0
> \[78b55507\] + Gettext\_jll v0.21.0+0
> \[7746bdde\] + Glib\_jll v2.80.0+0
> \[3b182d85\] + Graphite2\_jll v1.3.14+0
> \[2e76f6c2\] + HarfBuzz\_jll v2.8.1+1
> \[aacddb02\] + JpegTurbo\_jll v3.0.2+0
> \[c1c5ebd0\] + LAME\_jll v3.100.1+0
> \[88015f11\] + LERC\_jll v4.0.0+0
> \[1d63c593\] + LLVMOpenMP\_jll v15.0.7+0
> \[dd4b983a\] + LZO\_jll v2.10.1+0
> ⌅ \[e9f186c6\] + Libffi\_jll v3.2.2+1
> \[d4300ac3\] + Libgcrypt\_jll v1.8.11+0
> \[7e76a0d4\] + Libglvnd\_jll v1.6.0+0
> \[7add5ba3\] + Libgpg\_error\_jll v1.42.0+0
> \[94ce4f54\] + Libiconv\_jll v1.17.0+0
> \[4b2f31a3\] + Libmount\_jll v2.40.0+0
> ⌅ \[89763e89\] + Libtiff\_jll v4.5.1+1
> \[38a345b3\] + Libuuid\_jll v2.40.0+0
> \[e7412a2a\] + Ogg\_jll v1.3.5+1
> \[458c3c95\] + OpenSSL\_jll v3.0.13+1
> \[91d4177d\] + Opus\_jll v1.3.2+0
> \[30392449\] + Pixman\_jll v0.42.2+0
> \[c0090381\] + Qt6Base\_jll v6.5.3+1
> \[a44049a8\] + Vulkan\_Loader\_jll v1.3.243+0
> \[a2964d1f\] + Wayland\_jll v1.21.0+1
> \[2381bf8a\] + Wayland\_protocols\_jll v1.31.0+0
> \[02c8fc9c\] + XML2\_jll v2.12.6+0
> \[aed1982a\] + XSLT\_jll v1.1.34+0
> \[ffd25f8a\] + XZ\_jll v5.4.6+0
> \[f67eecfb\] + Xorg\_libICE\_jll v1.0.10+1
> \[c834827a\] + Xorg\_libSM\_jll v1.2.3+0
> \[4f6342f7\] + Xorg\_libX11\_jll v1.8.6+0
> \[0c0b7dd1\] + Xorg\_libXau\_jll v1.0.11+0
> \[935fb764\] + Xorg\_libXcursor\_jll v1.2.0+4
> \[a3789734\] + Xorg\_libXdmcp\_jll v1.1.4+0
> \[1082639a\] + Xorg\_libXext\_jll v1.3.4+4
> \[d091e8ba\] + Xorg\_libXfixes\_jll v5.0.3+4
> \[a51aa0fd\] + Xorg\_libXi\_jll v1.7.10+4
> \[d1454406\] + Xorg\_libXinerama\_jll v1.1.4+4
> \[ec84b674\] + Xorg\_libXrandr\_jll v1.5.2+4
> \[ea2f1a96\] + Xorg\_libXrender\_jll v0.9.10+4
> \[14d82f49\] + Xorg\_libpthread\_stubs\_jll v0.1.1+0
> \[c7cfdc94\] + Xorg\_libxcb\_jll v1.15.0+0
> \[cc61e674\] + Xorg\_libxkbfile\_jll v1.1.2+0
> \[e920d4aa\] + Xorg\_xcb\_util\_cursor\_jll v0.1.4+0
> \[12413925\] + Xorg\_xcb\_util\_image\_jll v0.4.0+1
> \[2def613f\] + Xorg\_xcb\_util\_jll v0.4.0+1
> \[975044d2\] + Xorg\_xcb\_util\_keysyms\_jll v0.4.0+1
> \[0d47668e\] + Xorg\_xcb\_util\_renderutil\_jll v0.3.9+1
> \[c22f9ab0\] + Xorg\_xcb\_util\_wm\_jll v0.4.1+1
> \[35661453\] + Xorg\_xkbcomp\_jll v1.4.6+0
> \[33bec58e\] + Xorg\_xkeyboard\_config\_jll v2.39.0+0
> \[c5fb5394\] + Xorg\_xtrans\_jll v1.5.0+0
> \[3161d3a3\] + Zstd\_jll v1.5.6+0
> \[35ca27e7\] + eudev\_jll v3.2.9+0
> \[1a1c6b14\] + gperf\_jll v3.1.1+0
> \[a4ae2306\] + libaom\_jll v3.4.0+0
> \[0ac62f75\] + libass\_jll v0.15.1+0
> \[2db6ffa8\] + libevdev\_jll v1.11.0+0
> \[f638f0a6\] + libfdk\_aac\_jll v2.0.2+0
> \[36db933b\] + libinput\_jll v1.18.0+0
> \[b53b4c65\] + libpng\_jll v1.6.43+1
> \[f27f6e37\] + libvorbis\_jll v1.3.7+1
> \[009596ad\] + mtdev\_jll v1.1.6+0
> \[1270edf5\] + x264\_jll v2021.5.5+0
> \[dfaa095f\] + x265\_jll v3.5.0+0
> \[d8fb68d0\] + xkbcommon\_jll v1.4.1+1
> \[0dad84c5\] + ArgTools v1.1.1
> \[56f22d72\] + Artifacts
> \[2a0f44e3\] + Base64
> \[ade2ca70\] + Dates
> \[f43a241f\] + Downloads v1.6.0
> \[7b1f6079\] + FileWatching
> \[b77e0a4c\] + InteractiveUtils
> \[b27032c2\] + LibCURL v0.6.4
> \[76f85450\] + LibGit2
> \[8f399da3\] + Libdl
> \[56ddb016\] + Logging
> \[d6f4376e\] + Markdown
> \[ca575930\] + NetworkOptions v1.2.0
> \[44cfe95a\] + Pkg v1.10.0
> \[de0858da\] + Printf
> \[3fa0cd96\] + REPL
> \[9a3f8284\] + Random
> \[ea8e919c\] + SHA v0.7.0
> \[9e88b42a\] + Serialization
> \[6462fe0b\] + Sockets
> \[fa267f1f\] + TOML v1.0.3
> \[a4e569a6\] + Tar v1.10.0
> \[cf7118a7\] + UUIDs
> \[4ec0a83e\] + Unicode
> \[e66e0078\] + CompilerSupportLibraries\_jll v1.1.1+0
> \[deac9b47\] + LibCURL\_jll v8.4.0+0
> \[e37daf67\] + LibGit2\_jll v1.6.4+0
> \[29816b5a\] + LibSSH2\_jll v1.11.0+1
> \[c8ffd9c3\] + MbedTLS\_jll v2.28.2+1
> \[14a3606d\] + MozillaCACerts\_jll v2023.1.10
> \[efcefdf7\] + PCRE2\_jll v10.42.0+1
> \[83775a58\] + Zlib\_jll v1.2.13+1
> \[8e850ede\] + nghttp2\_jll v1.52.0+1
> \[3f19e933\] + p7zip\_jll v17.4.0+2
> Precompiling project...
> ✗ GR\_jll
> 0 dependencies successfully precompiled in 2 seconds. 80 already precompiled.
> 1 dependency errored.
> For a report of the errors see \`julia\> err\`. To retry use \`pkg\> precompile\`
> \`\`\`
> and then
> \`\`\`julia
> julia\> err
> PkgPrecompileError: The following 1 direct dependency failed to precompile:
> 
> GR\_jll \[d2c73de3-f751-5644-a686-071e5b155ba9\]
> 
> Failed to precompile GR\_jll \[d2c73de3-f751-5644-a686-071e5b155ba9\] to "/home/mason/.julia/compiled/v1.10/GR\_jll/jl\_DAeVcu".
> ERROR: LoadError: InitError: could not load library "/home/mason/.julia/artifacts/e18a60e84fd8aefa967cb9f1d11dc6cbd9cac88b/lib/libtiff.so"
> libLerc.so: cannot open shared object file: No such file or directory
> Stacktrace:
> \[1\] dlopen(s::String, flags::UInt32; throw\_error::Bool)
> @ Base.Libc.Libdl ./libdl.jl:117
> \[2\] dlopen(s::String, flags::UInt32)
> @ Base.Libc.Libdl ./libdl.jl:116
> \[3\] macro expansion
> @ ~/.julia/packages/JLLWrappers/pG9bm/src/products/library\_generators.jl:63 \[inlined\]
> \[4\] \_\_init\_\_()
> @ Libtiff\_jll ~/.julia/packages/Libtiff\_jll/H65IB/src/wrappers/x86\_64-linux-gnu.jl:13
> \[5\] run\_module\_init(mod::Module, i::Int64)
> @ Base ./loading.jl:1134
> \[6\] register\_restored\_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
> @ Base ./loading.jl:1122
> \[7\] \_include\_from\_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
> @ Base ./loading.jl:1067
> \[8\] \_require\_search\_from\_serialized(pkg::Base.PkgId, sourcepath::String, build\_id::UInt128)
> @ Base ./loading.jl:1581
> \[9\] \_require(pkg::Base.PkgId, env::String)
> @ Base ./loading.jl:1938
> \[10\] \_\_require\_prelocked(uuidkey::Base.PkgId, env::String)
> @ Base ./loading.jl:1812
> \[11\] #invoke\_in\_world#3
> @ ./essentials.jl:926 \[inlined\]
> \[12\] invoke\_in\_world
> @ ./essentials.jl:923 \[inlined\]
> \[13\] \_require\_prelocked(uuidkey::Base.PkgId, env::String)
> @ Base ./loading.jl:1803
> \[14\] macro expansion
> @ ./loading.jl:1790 \[inlined\]
> \[15\] macro expansion
> @ ./lock.jl:267 \[inlined\]
> \[16\] \_\_require(into::Module, mod::Symbol)
> @ Base ./loading.jl:1753
> \[17\] #invoke\_in\_world#3
> @ ./essentials.jl:926 \[inlined\]
> \[18\] invoke\_in\_world
> @ ./essentials.jl:923 \[inlined\]
> \[19\] require(into::Module, mod::Symbol)
> @ Base ./loading.jl:1746
> \[20\] include(mod::Module, \_path::String)
> @ Base ./Base.jl:495
> \[21\] top-level scope
> @ ~/.julia/packages/JLLWrappers/pG9bm/src/toplevel\_generators.jl:192
> \[22\] include
> @ ./Base.jl:495 \[inlined\]
> \[23\] include\_package\_for\_output(pkg::Base.PkgId, input::String, depot\_path::Vector{String}, dl\_load\_path::Vector{String}, load\_path::Vector{String}, concrete\_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
> @ Base ./loading.jl:2222
> \[24\] top-level scope
> @ stdin:3
> during initialization of module Libtiff\_jll
> in expression starting at /home/mason/.julia/packages/GR\_jll/JpW5O/src/wrappers/x86\_64-linux-gnu-cxx11.jl:12
> in expression starting at /home/mason/.julia/packages/GR\_jll/JpW5O/src/GR\_jll.jl:2
> in expression starting at stdin:
> \`\`\`
> 
> Here's my version info:
> 
> \`\`\`julia
> julia\> versioninfo()
> Julia Version 1.10.3
> Commit 0b4590a5507 (2024-04-30 10:59 UTC)
> Build Info:
> Official https://julialang.org/ release
> Platform Info:
> OS: Linux (x86\_64-linux-gnu)
> CPU: 12 × AMD Ryzen 5 5600X 6-Core Processor
> WORD\_SIZE: 64
> LIBM: libopenlibm
> LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
> Threads: 6 default, 0 interactive, 3 GC (on 12 virtual cores)
> Environment:
> JULIA\_NUM\_THREADS = 6
> \`\`\`
> 
> This is especially weird because I checked, and there definitely is a file at \`/home/mason/.julia/artifacts/e18a60e84fd8aefa967cb9f1d11dc6cbd9cac88b/lib/libtiff.so\`.

---

<div class="post-metadata">

### Author: ![SamBrand](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@SamBrand](https://discourse.julialang.org/u/SamBrand)
#### Post date: [May 1, 2024, 1:01pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/11 "2024-05-01T13:01:18Z")

</div>

@giordano Was just about to link that myself… hopefully this will get fixed shortly

---

<div class="post-metadata">

### Author: ![tomaklutfu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomaklutfu/32/2411_2.png) [@tomaklutfu](https://discourse.julialang.org/u/tomaklutfu)
#### Post date: [May 1, 2024, 1:19pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/12 "2024-05-01T13:19:28Z")

</div>

Pinning `LERC_jll` to v3 was not enough. I needed to remove caches of Plots, GR\_jll, GR, LERC\_jll, Libtiff\_jll to be able to compile Plots again.

---

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [May 1, 2024, 1:22pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/13 "2024-05-01T13:22:15Z")

</div>

Here’s workaround until the registry changes propagate. This includes force precompilation of GR.

```julia
using Pkg
# skip activation of a temp environment if you are trying to fix your environment
Pkg.activate(; temp=true)
# Add LERC_jll version 3
Pkg.add([
    PackageSpec(name="GR"),
    PackageSpec(name="LERC_jll", version="3")
])
# Force GR to precompile
Base.compilecache(Base.PkgId(Base.UUID("28b8d3ca-fb5f-59d9-8090-bfdbd6d07a71"), "GR")) 

```

---

<div class="post-metadata">

### Author: ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)
#### Post date: [May 1, 2024, 3:01pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/14 "2024-05-01T15:01:56Z")

</div>

Ideally any version of package e.g. Plots and GR\_jll you used successfully in previous Julia should work in later, e.g. 1.10.3. Without updating any packages, but at least latest version of any package should work, and it should then be simple to get that latest version (and should happen if needed automatically), _with all its dependencies at the latest version too_.

TL;DR It worked for me out of the box, but when not Julia can trigger a special kind of hell in Linux the oom\_killer (despite me having 32 GB of RAM) when precompiling, just testing for you it seemingly killed julia, but maybe a first for me and/or the whole terminal windows, with all its other tabs. And on second try it rather killed Firefox (not too unusual).

From /var/log/syslog:

May 1 14:33:21 ryksugan kernel: [11232041.146150] julia invoked oom-killer: gfp\_mask=0x1100cca(GFP\_HIGHUSER\_MOVABLE), order=0, oom\_score\_adj=0

That was when I was trying to update to latest versions of packages.

Note, before:

```julia
(@v1.10) pkg> st -m
⌅ [28b8d3ca] GR v0.72.8
[..]
⌃ [91a5bcdd] Plots v1.39.0

```

i.e. you are possibly not at latest versions (and those should still work, like for me, assuming all their dependencies also at same version; and possibly you need to be running on same platform too).

This worked for me to go to latest version (but not it does NOT update dependencies like GR\_jll, and you only see it with -m option above, not from the Project.toml file):

```julia
(@v1.10) pkg> add Plots@v1.40.4

```

This might work for you (the version I use currently):

```julia
(@v1.10) pkg> add GR_jll@v0.72.8

```

For me it does NOT work to go to the latest version (nor did I find a workaround):

```julia
(@v1.10) pkg> add GR_jll@v0.73.3
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package SDL2_image_jll [41f3cfe1]:
 SDL2_image_jll [41f3cfe1] log:
 ├─possible versions are: 2.0.5-2.6.2 or uninstalled
 └─restricted by compatibility requirements with Libtiff_jll [89763e89] to versions: uninstalled — no versions left
   └─Libtiff_jll [89763e89] log:
     ├─possible versions are: 4.0.10-4.6.0 or uninstalled
     └─restricted by compatibility requirements with GR_jll [d2c73de3] to versions: 4.5.1
       └─GR_jll [d2c73de3] log:
         ├─possible versions are: 0.51.2-0.73.3 or uninstalled
         └─restricted to versions 0.73.3 by an explicit requirement, leaving only versions: 0.73.3

```

As I stated, the current versions DID work out of the box (not installing anything since I had it from previous Julia version):

```julia
julia> @time using Plots
  2.625603 seconds (1.29 M allocations: 81.508 MiB, 6.11% gc time, 1.52% compilation time)

```

though I think slower than before (also startup of julia itself a tiny bit slower it seems).

after updating Plots only I get:

```julia
julia> @time using Plots
  1.887266 seconds (1.29 M allocations: 82.422 MiB, 8.64% gc time, 1.91% compilation time)

```

Before that (still strange after):

```julia
julia> @time_imports using Plots
               ┌ 1.0 ms SuiteSparse_jll. __init__ () 
     43.8 ms SuiteSparse_jll 95.97% compilation time
               ┌ 8.8 ms SparseArrays.CHOLMOD. __init__ () 95.90% compilation time
    207.2 ms SparseArrays 4.06% compilation time
[..]
      7.8 ms CompilerSupportLibraries_jll 90.76% compilation time
[..]
     25.8 ms GR
               ┌ 7.2 ms Plots. __init__ () 93.86% compilation time
    629.7 ms Plots 1.07% compilation time

```

On first use, way more compiled than really needed:

```julia
  153 dependencies successfully precompiled in 157 seconds. 6 already precompiled.
166.139589 seconds (7.65 M allocations: 565.616 MiB, 0.59% gc time, 1.40% compilation time)

```

Note the dependencies of GR\_jll, and any of those might be a problem, needs updating:

```julia
[deps]
Zlib_jll = "83775a58-1f1d-513f-b197-d71354ab007a"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Fontconfig_jll = "a3f928ae-7b40-5064-980b-68af3947d34b"
Pixman_jll = "30392449-352a-5448-841d-b1acce4e97dc"
FFMPEG_jll = "b22a6f82-2f65-5046-a5b2-351ab43fb4e5"
JpegTurbo_jll = "aacddb02-875f-59d6-b918-886e6ef4fbf8"
Cairo_jll = "83423d85-b0ee-5818-9007-b63ccbeb887a"
FreeType2_jll = "d7e528f0-a631-5988-bf34-fe36492bcfd7"
Libtiff_jll = "89763e89-9b03-5906-acba-b20f662cd828"
GLFW_jll = "0656b61e-2033-5cc2-a64a-77c0f6c09b89"
JLLWrappers = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
Bzip2_jll = "6e34b625-4abd-537c-b88f-471c36dfa7a0"
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
libpng_jll = "b53b4c65-9356-5827-b1ea-8c7a1a84506f"
Qt6Base_jll = "c0090381-4147-56d7-9ebc-da0b1113ec56"

```

---

<div class="post-metadata">

### Author: ![scheinerman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scheinerman/32/35303_2.png) [@scheinerman](https://discourse.julialang.org/u/scheinerman)
#### Post date: [May 1, 2024, 3:30pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/15 "2024-05-01T15:30:04Z")

</div>

Thank you. This seems to work for me. How might I know when this is fixed?

---

<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: [May 1, 2024, 3:36pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/16 "2024-05-01T15:36:12Z")

</div>

It has been for a couple of hours already: [[Libtiff\_jll] Fix compat bound with `LERC_jll` by giordano · Pull Request #105958 · JuliaRegistries/General · GitHub](https://github.com/JuliaRegistries/General/pull/105958)

---

<div class="post-metadata">

### Author: ![scheinerman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scheinerman/32/35303_2.png) [@scheinerman](https://discourse.julialang.org/u/scheinerman)
#### Post date: [May 1, 2024, 4:29pm UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/17 "2024-05-01T16:29:50Z")

</div>

Thanks. It’s all working now!

---

<div class="post-metadata">

### Author: ![zdenek\_hurak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zdenek_hurak/32/53118_2.png) [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)
#### Post date: [May 2, 2024, 7:15am UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/18 "2024-05-02T07:15:35Z")

</div>

I am still having the problem:

```julia
(Downloads) pkg> precompile
Precompiling project...
  ✗ Plots
  ✗ Plots → UnitfulExt
  0 dependencies successfully precompiled in 6 seconds. 146 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]

Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to "/Users/hurak/.julia/compiled/v1.10/Plots/jl_6w0quB".
ERROR: LoadError: InitError: UndefVarError: `GR_jll` not defined
Stacktrace:
  [1] __init__ ()
    @ GR.GRPreferences ~/.julia/packages/GR/SdanO/src/preferences.jl:64
  [2] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1134
  [3] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1122
  [4] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base ./loading.jl:1067
  [5] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
    @ Base ./loading.jl:1581
  [6] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1938
  [7] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1812
  [8] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
  [9] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [10] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1803
 [11] macro expansion
    @ ./loading.jl:1790 [inlined]
 [12] macro expansion
    @ ./lock.jl:267 [inlined]
 [13] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1753
 [14] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [15] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [16] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1746
 [17] top-level scope
    @ ~/.julia/packages/Plots/ju9dp/src/backends.jl:380
 [18] eval
    @ ./boot.jl:385 [inlined]
 [19] _initialize_backend(pkg::Plots.GRBackend)
    @ Plots ~/.julia/packages/Plots/ju9dp/src/backends.jl:379
 [20] backend(pkg::Plots.GRBackend)
    @ Plots ~/.julia/packages/Plots/ju9dp/src/backends.jl:244
 [21] backend(sym::Symbol)
    @ Plots ~/.julia/packages/Plots/ju9dp/src/backends.jl:254
 [22] load_default_backend()
    @ Plots ~/.julia/packages/Plots/ju9dp/src/backends.jl:201
 [23] backend()
    @ Plots ~/.julia/packages/Plots/ju9dp/src/backends.jl:232
 [24] top-level scope
    @ ~/.julia/packages/Plots/ju9dp/src/init.jl:108
 [25] include(mod::Module, _path::String)
    @ Base ./Base.jl:495
 [26] include(x::String)
    @ Plots ~/.julia/packages/Plots/ju9dp/src/Plots.jl:1
 [27] top-level scope
    @ ~/.julia/packages/Plots/ju9dp/src/Plots.jl:176
 [28] include
    @ ./Base.jl:495 [inlined]
 [29] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
    @ Base ./loading.jl:2222
 [30] top-level scope
    @ stdin:3
during initialization of module GRPreferences
in expression starting at /Users/hurak/.julia/packages/Plots/ju9dp/src/init.jl:108
in expression starting at /Users/hurak/.julia/packages/Plots/ju9dp/src/Plots.jl:1
in expression starting at stdin:

```

```julia
julia> versioninfo()
Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 8 × Apple M2
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)
Environment:
  DYLD_LIBRARY_PATH = /Library/knitro/lib

```

```julia
(Downloads) pkg> st
Status `~/Downloads/Project.toml`
  [28b8d3ca] GR v0.73.3
  [91a5bcdd] Plots v1.40.4

```

Adding `GR_jll` does not help. And I have never installed it before.

---

<div class="post-metadata">

### Author: ![tomaklutfu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomaklutfu/32/2411_2.png) [@tomaklutfu](https://discourse.julialang.org/u/tomaklutfu)
#### Post date: [May 2, 2024, 7:17am UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/19 "2024-05-02T07:17:50Z")

</div>

Have you tried [this](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/13)?

---

<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: [May 2, 2024, 8:54am UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693/20 "2024-05-02T08:54:03Z")

</div>

That doesn’t seem to be same issue discussed above, unless I’m missing it I don’t see references to libLerc not found. I’d recommend opening a new thread, this one is done.

[Next page](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693.md?page=2)
