Bug 451780 - Appimage 7.6 does not work on Fedora
Summary: Appimage 7.6 does not work on Fedora
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-AppImage (show other bugs)
Version: 7.6.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-21 21:10 UTC by Nicofo
Modified: 2022-03-22 09:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 7.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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