Bug 455922 - Appimage fails to start in Fedora 36 - Missing libnsl.so.1
Summary: Appimage fails to start in Fedora 36 - Missing libnsl.so.1
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-06-25 14:59 UTC by m123
Modified: 2022-11-21 06:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m123 2022-06-25 14:59:43 UTC
New install of Fedora 36: 
Kernel 5.18.5-200.fc36.x86_64
Appimage fails to load digikam

Apparently libnsl.so.1 is missing:

$ ./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: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
Comment 1 Maik Qualmann 2022-06-26 06:23:51 UTC
Please try digiKam-7.8.0 AppImage from here:

https://files.kde.org/digikam/

Maik
Comment 2 Maik Qualmann 2022-06-26 06:28:45 UTC
You may also need to install the libnsl. It is a required system library and is not included in the AppImage.

Maik
Comment 3 m123 2022-06-26 11:33:43 UTC
Thank you. Yes, it appears you need to install the full package libnsl. (I had tried libnsl.x86_64 but obviously that was not sufficient).   This permits Digikam  7.7.0 and 7.8.0 to work but not 7.6.0

Martin
Comment 4 caulier.gilles 2022-06-26 11:37:00 UTC
Thanks for the feedback.

I close this file now.

Best

Gilles Caulier
Comment 5 Nicofo 2022-11-20 20:00:49 UTC
Hello Maik, Gilles,

I installed a fresh Fedora 37 and appimage does not work because of libnsl missing.

It seems libnsl is not installed by default on Fedora (and maybe on other distributions ?)
Is it possible to include it in the appimage ?
Of course we can manually install libnsl on Fedora, but it's a pity digikam does not work out of the box.

Best regards
Comment 6 caulier.gilles 2022-11-21 06:39:49 UTC
Git commit 4b8e66933c4d226f7987bbeb148ec680858f66b9 by Gilles Caulier.
Committed on 21/11/2022 at 06:38.
Pushed by cgilles into branch 'qt5-maintenance'.

includes libnsl to AppImage bundle

M  +5    -3    project/bundles/appimage/04-build-appimage.sh

https://invent.kde.org/graphics/digikam/commit/4b8e66933c4d226f7987bbeb148ec680858f66b9