site  contact  subhomenews

libGLX.so.0 fix for Kdenlive AppImage

June 10, 2023 — BarryK

I posted about the missing libGLX.so.0 in the Kdenlive AppImage:

https://bkhome.org/news/202305/kdenlive-appimage-vs-flatpak.html

libGLX.so.0 is in the 'libglvnd' package, that is in mainstream Linux distributions, but not in EasyOS. It is a wrapper for different libGL packages, as explained here:

https://github.com/NVIDIA/libglvnd

As far as I know, libglvnd is only needed if use the official NVIDIA GPU drivers.

In Easy, the 'mesa' package is compiled without libglvnd dependency. There is no libGLX.so*, but looking at the compiled source, I see that 'libglx.a' is statically linked with libGL.so.1.2.0, which strongly indicates that libGL has all the libGLX exported functions in it.

Confirmed by doing this, comparing with libGLX from a libglvnd package:

# nm -D --defined-only libGL.so.1.2.0 | grep 'glX'
# nm -D --defined-only libGLX.so.0.0.0

Therefore, created a symlink libGLX to libGL. Now, Kdenlive AppImage starts without complaining.

Github commit:

https://github.com/bkauler/woofq/commit/3be1ea3b3285a259c9ca5110018ba52e9abd8f3c     

Tags: easy