https://bugs.kde.org/show_bug.cgi?id=498041
Bug ID: 498041
Summary: Debian testing doesn't need libgnutls.so.30 from
AppImage
Classification: Applications
Product: digikam
Version: 8.6.0
Platform: Debian testing
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Bundle-AppImage
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 176965
--> https://bugs.kde.org/attachment.cgi?id=176965&action=edit
Patch to AppRun script to make AppImage work on Debian testing & unstable
***
When using the AppImage on Debian Testing the AppImage crashes with the
following output:
michael@trex:~/Downloads$
./digiKam-8.6.0-20241229T190103-Qt6-x86-64-debug.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"'.
-- to extract the bundle contents locally, use option
'--appimage-extract' on the command line.
-- Detected host Linux debian gnu/linux-64-
-- AppImage mounted directory: /tmp/user/1001/.mount_digiKaiFjNyz
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
Check library libgmodule-2.0.so.0
Check library libgnutls.so.30
Check library libnettle.so.8
-- Preloading shared libs:
:/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1:/usr/lib/x86_64-linux-gnu/libssl.so.1.1:/usr/lib/x86_64-linux-gnu/libnss3.so:/usr/lib/x86_64-linux-gnu/libnssutil3.so:/usr/lib/x86_64-linux-gnu/libsmime3.so:/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0:/usr/lib/x86_64-linux-gnu/libgnutls.so.30:/usr/lib/x86_64-linux-gnu/libnettle.so.8
digikam: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30:
undefined symbol: nettle_rsa_oaep_sha384_decrypt, version HOGWEED_6
Similar to this bug for Fedora: https://bugs.kde.org/show_bug.cgi?id=496619
Not loading libgnutls.so.30 prevents the crash and digiKam works fine.
Please see attached patch as a suggestion for the fix.
Debian Testing & Debian Unstable don't seem to have a numeric version number.
michael@trex:~/Downloads$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
The codename will change when Testing changes versions, so reading from
/etc/debian_version could be more reliable. Both Unstable and Testing should
say "sid" in the string.
michael@trex:~/Downloads$ cat /etc/debian_version
trixie/sid
Stable releases will have a version number in /etc/debian_version
The attached patch detects Debian and then reads from /etc/debian_version. It
will not load libgnutls.so.30 if Testing/Unstable is detected or if the version
number is >= 13. Current Testing (Trixie) will get version number 13 when it is
released in 2025.
These changes should make sure that the AppImage works for Testing & Unstable
going forward, and for the current dev version when it is released.
--
You are receiving this mail because:
You are watching all bug changes.