Repository navigation
Description
Bug description
The Audacity 4.0.0 x86_64 AppImage aborts at startup on a fresh Ubuntu 26.04
"Minimal installation" desktop because it requires libOpenGL.so.0 (libglvnd),
which is not installed by default on that configuration and is not bundled in
the AppImage. Installing libopengl0 fixes it.
The MuseScore AppImage, built with the same packaging framework, handles this
case by shipping libOpenGL.so.0 as a fallback library; Audacity's
make_appimage.sh has the same mechanism but does not list libOpenGL.so.0.
See "Suggested fix" below.
Steps to reproduce
- Install Ubuntu 26.04 choosing "Minimal installation" (GNOME, Wayland).
- Download audacity-linux-4.0.0-x86_64.AppImage,
chmod +x, run from a terminal.
Expected behavior
Audacity starts
Actual behavior
$ ./audacity-linux-4.0.0-x86_64.AppImage
/usr/lib/x86_64-linux-gnu/libjack.so.0
/usr/lib/x86_64-linux-gnu/libnss3.so
/tmp/.mount_audaciDeJeJD/bin/audacity4portable: error while loading shared
libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory
sudo apt install libopengl0 resolves it.
Audacity Version
Audacity 4.0.0
Operating system
Linux
Additional context
Reproduced in a clean container
Confirmed in an ubuntu:26.04 podman container with the AppImage extracted
(--appimage-extract) and the host libraries that any desktop provides
installed (libx11-6 libasound2t64 libgl1 libegl1 libfontconfig1 libglib2.0-0t64), but not libopengl0.
Additional context
ldd squashfs-root/bin/audacity4portable | grep 'not found'(before installing
any host libs) lists libX11, libasound, libGLX, libOpenGL, libGL, libjack,
libEGL, libfontconfig, libglib-2.0, libgthread-2.0. All except libOpenGL are
present on the minimal desktop.ls squashfs-root/lib | grep -iE GLshows only libQt6OpenGL.so.6 and
libxcb-glx.so.0: no libGL/libEGL/libOpenGL are bundled, as expected, since
linuxdeploy excludes them so the host GPU stack is used.- On Ubuntu, libgl1 and libegl1 are pulled in by the desktop but libopengl0
is a separate package that nothing in the minimal install depends on
(apt-cache rdepends --installed libopengl0is empty). The full Ubuntu desktop
gets it indirectly, which is probably why this was not seen in testing. - Qt6 links libOpenGL unconditionally; see https://bugreports.qt.io/browse/QTBUG-89754
Suggested fix
In buildscripts/ci/linux/make_appimage.sh, MuseScore has
fallback_libraries=(
libjack.so.0 # https://github.com/LMMS/lmms/pull/3958
libOpenGL.so.0 # https://bugreports.qt.io/browse/QTBUG-89754
)
while Audacity's copy lists only libjack.so.0. Adding the libOpenGL.so.0 line
should be sufficient: the fallback_library() function and the AppRun check
that adds fallback/<lib> to LD_LIBRARY_PATH only when the host lacks it
already exist in Audacity's script. I can open a PR for this.
Audacity version
4.0.0 (AppImage, x86_64)
OS
Ubuntu 26.04.1, GNOME 50, Wayland
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Effort
Projects
- StatusShow more project fieldsDone
Activity
kryksyh commentedon Sep 10, 2026
@kfl thank you!
kfl commentedon Sep 11, 2026
@kryksyh happy to help. I know it is just a small papercut issue.
I also made an other PR #12104 as fix for #10135 which is also for making the installation on Linux more smooth. Let me know if there is something I can/should do different to aide the life of maintainers. In both cases I tried to keep changes minimal.
chinakov commentedon Sep 23, 2026
This is done, thanks!
Fixes audacity#12093 Add libOpenGL.so.0 to fallback libraries (audaci…
cherry-picked PR #12094