From f095a3ae1136e70e800485356722d86b34d4b83f Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Tue, 13 Oct 2026 18:09:44 +0200 Subject: [PATCH] Point AppImage GTK plugin at amd64 libs Set LD_GTK_LIBRARY_PATH: the updated plugin finds the arm64 lib dir via dpkg-architecture. --- desktop/scripts/appimage-build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desktop/scripts/appimage-build b/desktop/scripts/appimage-build index da4ef1f0e..cc907ce7c 100755 --- a/desktop/scripts/appimage-build +++ b/desktop/scripts/appimage-build @@ -45,6 +45,9 @@ export APPIMAGE_EXTRACT_AND_RUN=1 # linuxdeploy-plugin-gtk.sh calls pkg-config to find GTK 3; on an ARM64 host # with amd64 multiarch the default search path misses the amd64 .pc files. export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig +# The GTK plugin derives its library dir from dpkg-architecture, which reports +# the ARM64 host. Point it at the amd64 libraries instead. +export LD_GTK_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu # Ubuntu 24.04 installs gtk-query-immodules-3.0 under the t64 directory. # The plugin needs it in PATH; binfmt-misc handles it as x86_64 via QEMU. export PATH=/usr/lib/x86_64-linux-gnu/libgtk-3-0t64:$PATH