# Gksqt: symbol lookup error: /lib/x86\_64-linux-gnu/libEGL\_mesa.so.0: undefined symbol: wl\_display\_create\_queue\_with\_name

**URL:** <https://discourse.julialang.org/t/gksqt-symbol-lookup-error-lib-x86-64-linux-gnu-libegl-mesa-so-0-undefined-symbol-wl-display-create-queue-with-name/124599>\
**Category:** General Usage\
**Tags:** plotting, linux\
**Created:** [January 9, 2025, 4:54pm UTC](https://discourse.julialang.org/t/gksqt-symbol-lookup-error-lib-x86-64-linux-gnu-libegl-mesa-so-0-undefined-symbol-wl-display-create-queue-with-name/124599 "2025-01-09T16:54:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ForceBru](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/forcebru/32/21389_2.png) [@ForceBru](https://discourse.julialang.org/u/ForceBru)\
**Post date:** [January 9, 2025, 4:54pm UTC](https://discourse.julialang.org/t/gksqt-symbol-lookup-error-lib-x86-64-linux-gnu-libegl-mesa-so-0-undefined-symbol-wl-display-create-queue-with-name/124599/1 "2025-01-09T16:54:27Z")

</div>

I can’t show any plots from the terminal:

```julia
(@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
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

```

---

<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:** [January 9, 2025, 5:04pm UTC](https://discourse.julialang.org/t/gksqt-symbol-lookup-error-lib-x86-64-linux-gnu-libegl-mesa-so-0-undefined-symbol-wl-display-create-queue-with-name/124599/2 "2025-01-09T17:04:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ForceBru](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/forcebru/32/21389_2.png) [@ForceBru](https://discourse.julialang.org/u/ForceBru)\
**Post date:** [January 9, 2025, 5:06pm UTC](https://discourse.julialang.org/t/gksqt-symbol-lookup-error-lib-x86-64-linux-gnu-libegl-mesa-so-0-undefined-symbol-wl-display-create-queue-with-name/124599/3 "2025-01-09T17:06:53Z")

</div>

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

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

```

---

<div class="post-metadata">

**Author:** ![Dietmar\_Oelz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dietmar_oelz/32/8526_2.png) [@Dietmar\_Oelz](https://discourse.julialang.org/u/Dietmar_Oelz)\
**Post date:** [February 14, 2025, 1:47am UTC](https://discourse.julialang.org/t/gksqt-symbol-lookup-error-lib-x86-64-linux-gnu-libegl-mesa-so-0-undefined-symbol-wl-display-create-queue-with-name/124599/4 "2025-02-14T01:47:50Z")

</div>

It seems that gksqrt in the newest version of GR.jl requires libqt6 version 6.7, but Ubuntu 24.10 comes with version 6.6 (run gksqt in the .julia/artifacts folder to check).  
Downgrading GR.jl (add GR@0.72) to v0.72.10 solved the problem for me.
