gtoolkit icon indicating copy to clipboard operation
gtoolkit copied to clipboard

Linux Wayland `libEGL.so` lookup error

Open aasseman opened this issue 4 months ago • 1 comments

Observed on version Linux-x86_64-v1.0.1202 on Fedora 40 (also got the same error on Ubuntu 24.04).

$ ./bin/GlamorousToolkit-cli ./GlamorousToolkit.image --enable-wayland --interactive
[2024-10-11T22:30:25Z ERROR value_box::error] Error: There was an error
[2024-10-11T22:30:25Z ERROR value_box::error]  - libEGL.so: cannot open shared object file: No such file or directory

But:

$ ls /usr/lib64 | grep EGL
libEGL_mesa.so.0
libEGL_mesa.so.0.0.0
libEGL.so.1
libEGL.so.1.1.0

A workaround is to create a symbolic link. For example:

$ ln -s /usr/lib64/libEGL.so.1 libEGL.so
$ LD_LIBRARY_PATH=`pwd` ./bin/GlamorousToolkit-cli ./GlamorousToolkit.image --enable-wayland --interactive

aasseman avatar Oct 11 '24 22:10 aasseman