Gksqt: symbol lookup error: /lib/x86_64-linux-gnu/libEGL_mesa.so.0: undefined symbol: wl_display_create_queue_with_name

I can’t show any plots from the terminal:

(@v1.11) pkg> activate --temp
  Activating new project at `/tmp/jl_qLK6Cw`

(jl_qLK6Cw) pkg> add Plots
   Resolving package versions...
    Updating `/tmp/jl_qLK6Cw/Project.toml`
  [91a5bcdd] + Plots v1.40.9
    Updating `/tmp/jl_qLK6Cw/Manifest.toml`
...
julia> import Plots; Plots.plot(randn(50))

julia> /home/user/.julia/artifacts/49b440e513190773c27eb410eee4b0752c9ddafd/bin/gksqt: symbol lookup error: /lib/x86_64-linux-gnu/libEGL_mesa.so.0: undefined symbol: wl_display_create_queue_with_name

No plot is shown. I tried:

  • Nuking the compiled artifacts (rm -rf ~/.julia/compiled) and re-running add Plots to force a recompile. The error persisted.
  • sudo apt install --reinstall libegl-mesa0 && reboot
  • sudo apt install --reinstall libwayland-client0 && reboot. Both reinstalled fine, the error persisted.

Kubuntu 24.10, graphics: Wayland, Plots v1.40.9.

julia> versioninfo()
Julia Version 1.11.2
Commit 5e9a32e7af2 (2024-12-01 20:02 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, znver1)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.10
Release:	24.10
Codename:	oracular

How did you install Julia? Can you please show the full output of the versioninfo() command in the Julia REPL?

Sorry, added versioninfo output in the post. I installed Julia with Juliaup:

$ juliaup status
 Default  Channel  Version                 Update 
--------------------------------------------------
       *  release  1.11.2+0.x64.linux.gnu