Bug 451780

Summary: Appimage 7.6 does not work on Fedora
Product: [Applications] digikam Reporter: Nicofo <nicofo>
Component: Bundle-AppImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 7.6.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 7.7.0
Sentry Crash Report:

Description Nicofo 2022-03-21 21:10:38 UTC
Appimage 7.6 does not start on Fedora:

$ ./digiKam-7.6.0-x86-64.appimage
-- digiKam Linux AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam application.
-- Notes: to integrate this bundle to your desktop, use AppImageLauncher.
--        to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'.
Check library libudev.so.0
Check library libxcb-dri3.so.0
Check library libcrypto.so.1.1
Check library libssl.so.1.1
Check library libnss3.so
Check library libnssutil3.so
Check library libsmime3.so
-- Preloading shared libs: :/usr/lib64/libxcb-dri3.so.0:/usr/lib64/libcrypto.so.1.1:/usr/lib64/libssl.so.1.1:/usr/lib64/libnss3.so:/usr/lib64/libnssutil3.so:/usr/lib64/libsmime3.so
digikam: symbol lookup error: /lib64/libgio-2.0.so.0: undefined symbol: g_module_open_full

WORKAROUND
It works however with the following command line:
LD_PRELOAD=$LD_PRELOAD:/usr/lib64/libpango-1.0.so.0:/usr/lib64/libpangocairo-1.0.so.0:/usr/lib64/libgmodule-2.0.so.0 ./digiKam-7.6.0-x86-64.appimage

Note: I saw bug #451196 but just pre-loading libpango and libpangocairo is not enough on Fedora: libgmodule must also be pre-loaded.

SYSTEM
Fedora 35 (X, not Wayland)
Comment 1 caulier.gilles 2022-03-22 09:58:32 UTC
Git commit 1c16731816fc9fedd04822ecd2edbc30c9b4be49 by Gilles Caulier.
Committed on 22/03/2022 at 09:57.
Pushed by cgilles into branch 'master'.

AppImage: preload libgmodule for Fedora compatibility
FIXED-IN: 7.7.0

M  +2    -1    project/bundles/appimage/data/AppRun

https://invent.kde.org/graphics/digikam/commit/1c16731816fc9fedd04822ecd2edbc30c9b4be49