Bug 454796 - 7.6.0 AppImage fails to start on Ubuntu 22.04 "symbol lookup error: /lib/x86_64-linux-gnu/libgio-2.0.so.0"
Summary: 7.6.0 AppImage fails to start on Ubuntu 22.04 "symbol lookup error: /lib/x86_...
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-03 14:26 UTC by Ian
Modified: 2022-06-03 20:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian 2022-06-03 14:26:55 UTC
SUMMARY

7.5.0 ran fine, but..

STEPS TO REPRODUCE
1. Download 7.6.0 x64 AppImage
2. Make executable 
3. Run from command line

OBSERVED RESULT

Fails to start with error message:

me@pc $ ./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/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
digikam: symbol lookup error: /lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_module_open_full

EXPECTED RESULT

To run as well as 7.5.0 did, including on Ubuntu 22.04.

ADDITIONAL INFORMATION

If I run with the help argument, it will report possible command line arguments and return without crashing:

me@pc $ ~/digiKam-7.6.0-x86-64.appimage help
-- 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/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
digiKam AppImage bundle CLI options:
 without option       : run digiKam.
 <showfoto>           : run Showfoto instead digiKam.
 <debug>              : run digiKam into GDB.
 <debug> <showfoto>   : run Showfoto into GDB.
 <help>               : show these information.
me@pc $
Comment 1 Ian 2022-06-03 14:33:03 UTC
I  feel dirty for having tried it, but the snap of 7.6.0 from https://snapcraft.io/digikam *does* run.

Annoyingly, of course it doesn't pick up the data and settings from the appimage version.
Comment 2 Maik Qualmann 2022-06-03 16:36:01 UTC
The problem has already been reported several times and has already been fixed. Use the upcoming digikam-7.7.0 AppImage from here:

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

Maik
Comment 3 Ian 2022-06-03 17:47:38 UTC
(In reply to Maik Qualmann from comment #2)
> The problem has already been reported several times and has already been
> fixed. Use the upcoming digikam-7.7.0 AppImage from here:

Ah great, thank you.

I did look first, but the default search excludes closed bugs. Various crashes did come up, but not this one. Trying again with a more advanced search came across one other report for 'digikam ubuntu' (453231). If it is "several times", then perhaps having a note on the digikam.org site that the 7.6.0 appimage doesn't work on (at least) Ubuntu before people download it might be an idea to save going 'we know' again.

I have had a browse of https://invent.kde.org/graphics/digikam/-/commits/master/ around the end of April and not spotted anything obviously related to this - what was the fix?

Thanks again.
Comment 4 Maik Qualmann 2022-06-03 18:46:37 UTC
For the current Ubuntu version, additional libraries must be preloaded, the decisive patch was probably this one:

https://invent.kde.org/graphics/digikam/-/commit/aefb18b05385d0951a65590e40d4cad9978a4bcc

But that's not the only problem with this Ubuntu version, the Panorama Hugin Tools are no longer available as classic packages, it has been switched to Flatpak. Thank you Ubuntu. We have already received bug reports on this too, there are still Debian Hugin packages that can be installed under the current Ubuntu version. Oh, and the LANG* environment variables are no longer fully set, causing ExifTool to issue error messages. How nice that I don't have Ubuntu...

Maik
Comment 5 Ian 2022-06-03 20:23:15 UTC
> https://invent.kde.org/graphics/digikam/-/commit/
> aefb18b05385d0951a65590e40d4cad9978a4bcc

Thanks!
 
> But that's not the only problem with this Ubuntu version, the Panorama Hugin
> Tools are no longer available as classic packages, it has been switched to
> Flatpak. Thank you Ubuntu. We have already received bug reports on this too,
> there are still Debian Hugin packages that can be installed under the
> current Ubuntu version. Oh, and the LANG* environment variables are no
> longer fully set, causing ExifTool to issue error messages. How nice that I
> don't have Ubuntu...

Yes, I'm annoyed (polite version) about Hugin too.

I sometimes wonder if they regard desktop users as an annoyance. I've switched from them once, I can do it again.