# Makie Precompilation failed in Linux

**URL:** https://discourse.julialang.org/t/makie-precompilation-failed-in-linux/136368
**Category:** Visualization
**Tags:** makie
**Created:** [March 24, 2026, 6:20pm UTC](https://discourse.julialang.org/t/makie-precompilation-failed-in-linux/136368 "2026-03-24T18:20:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![henry2004y](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henry2004y/32/9284_2.png) [@henry2004y](https://discourse.julialang.org/u/henry2004y)
#### Post date: [March 24, 2026, 6:20pm UTC](https://discourse.julialang.org/t/makie-precompilation-failed-in-linux/136368/1 "2026-03-24T18:20:55Z")

</div>

Hi,

Starting this morning, when I test my package on Linux that relies on packages with Makie extensions, precompilation fails with the following error messages:

```julia-auto
Precompiling for configuration --code-coverage=@/home/runner/work/TestParticle.jl/TestParticle.jl --color=yes --check-bounds=yes --warn-overwrite=yes --depwarn=yes --inline=yes --startup-file=no --track-allocation=none --check-bounds=yes --compiled-modules=yes --depwarn=yes
              ✗ Makie
              ✗ Measurements → MeasurementsMakieExt
              ✗ Meshes → MeshesMakieExt
              ✗ SciMLBase → SciMLBaseMakieExt
  0 dependencies successfully precompiled in 19 seconds. 402 already precompiled.

ERROR: LoadError: The following 2 direct dependencies failed to precompile:

Meshes → MeshesMakieExt --code-coverage=@/home/runner/work/TestParticle.jl/TestParticle.jl --color=yes --check-bounds=yes --warn-overwrite=yes --depwarn=yes --inline=yes --startup-file=no --track-allocation=none --check-bounds=yes --compiled-modules=yes --depwarn=yes 

Failed to precompile MeshesMakieExt [fd73dc56-13e7-52f5-a3bb-9f1608bf6b57] to "/home/runner/.julia/compiled/v1.12/MeshesMakieExt/jl_fPndcz".
ERROR: LoadError: InitError: could not load library "/home/runner/.julia/artifacts/654863f618f22eeb74ce2d1b4996666e65e596e4/lib/libgio-2.0.so"
/home/runner/.julia/artifacts/654863f618f22eeb74ce2d1b4996666e65e596e4/lib/libgobject-2.0.so.0: undefined symbol: g_string_copy

```

This only happens in the [CI for Linux](https://github.com/henry2004y/TestParticle.jl/actions/runs/23501493117/job/68410962840), but not for Windows or Mac. How can I solve this issue?

---

<div class="post-metadata">

### Author: ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)
#### Post date: [March 24, 2026, 7:40pm UTC](https://discourse.julialang.org/t/makie-precompilation-failed-in-linux/136368/2 "2026-03-24T19:40:25Z")

</div>

Should be fixed by: [FreeType2: Do not load HarfBuzz dynamically by eschnett · Pull Request #13382 · JuliaPackaging/Yggdrasil · GitHub](https://github.com/JuliaPackaging/Yggdrasil/pull/13382)

---

<div class="post-metadata">

### Author: ![henry2004y](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henry2004y/32/9284_2.png) [@henry2004y](https://discourse.julialang.org/u/henry2004y)
#### Post date: [March 24, 2026, 8:52pm UTC](https://discourse.julialang.org/t/makie-precompilation-failed-in-linux/136368/3 "2026-03-24T20:52:03Z")

</div>

That’s a quick fix! When should we be able precompile again with the correct version of glib? Is there a turnover time for these pushes?

---

<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: [March 24, 2026, 9:01pm UTC](https://discourse.julialang.org/t/makie-precompilation-failed-in-linux/136368/4 "2026-03-24T21:01:18Z")

</div>

Should be fixed once [New version: FreeType2\_jll v2.14.3+1 by jlbuild · Pull Request #151226 · JuliaRegistries/General · GitHub](https://github.com/JuliaRegistries/General/pull/151226) is merged, in 15 minutes or so (you’ll need to update your registry)

---

<div class="post-metadata">

### Author: ![tuckermcclure](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tuckermcclure/32/1187_2.png) [@tuckermcclure](https://discourse.julialang.org/u/tuckermcclure)
#### Post date: [March 24, 2026, 9:28pm UTC](https://discourse.julialang.org/t/makie-precompilation-failed-in-linux/136368/5 "2026-03-24T21:28:54Z")

</div>

I was having this problem too, and once the above merged, the problem went away. Thanks for saving me a bunch of debugging by posting here!
