Bug 479056

Summary: AppImage5.1 531c98b7 fails to start on Ubuntu 20.04: CXXABI_1.3.13, GLIBCXX_3.4.29 and GLIBCXX_3.4.30 not found
Product: [Applications] kmymoney Reporter: Johannes <johannes.lists+bugs.kde.org>
Component: buildsystemAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: CONFIRMED ---    
Severity: normal CC: kloecker, lp.allard.1, ostroffjh
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=478222
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Johannes 2023-12-27 05:22:26 UTC
SUMMARY
I downloaded newest AppImage https://invent.kde.org/office/kmymoney/-/jobs/1459367/artifacts/download?file_type=archive from here https://invent.kde.org/office/kmymoney/-/pipelines?page=1&scope=all&ref=5.1&status=success as described on https://kmymoney.org/appimage.html and tried to start it, which fails.

STEPS TO REPRODUCE
1. Download newest AppImage as described in SUMMARY on Ubuntu 20.04
2. Start it in terminal

OBSERVED RESULT
Following error messages appear in the terminal:

/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libKF5Holidays.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libKF5ConfigWidgets.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libKF5KIOCore.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libKF5Service.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libKF5ConfigCore.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libQt5Network.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libQt5Xml.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libKF5CoreAddons.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libQt5Widgets.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libQt5Core.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libQt5Core.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libQt5WebEngineCore.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libQt5WebEngineCore.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libQt5Quick.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libQt5WebChannel.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libQt5Qml.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libQt5Positioning.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libKF5WindowSystem.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libKPim5AkonadiCore.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libKF5Contacts.so.5)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libicuuc.so.71)
/tmp/.mount_kmymonWLmuCj/AppRun.wrapped: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_kmymonWLmuCj/usr/lib/libQt5WaylandClient.so.5)


EXPECTED RESULT
KMyMoney starts without complaining about missing libraries.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 20.04.6 LTS

ADDITIONAL INFORMATION

The same bug is seen in recent AppImage of digiKam: #478222
Comment 1 Johannes 2023-12-27 05:25:35 UTC
Please correct the version field, I don't know the correct version to use for newest AppImage: It's not 5.1.3 because this version is what I get from the package repository on Ubuntu 20.4, and it can't be git (master), because the Pipeline page says: Branch 5.1
Comment 2 lp.allard.1 2024-01-04 00:57:13 UTC
EXACT same issue and error messages on Mint 20.3 (Una) running AppImage 5.1.2847 .
Comment 3 Jack 2024-01-04 20:52:10 UTC
I confirm this happens in Ubunto 20.04, but not in 22.04.  My best guess is that there was an upgrade to some (many?) of the core system libraries, but I don't know why the appimage is requiring the new version.  I don't believe it's a strict requirement of KMyMoney itself, so I assume it is a either a requirement of some of the libraries built into the appimage, or else a requirement of the appimage build process.
As a separate issue, I'll see if we can get a version created for 5.1 git head, which is what this appimage is built from.
Comment 4 Ingo Klöcker 2024-01-04 21:14:45 UTC
Previously, AppImages were based on CentOS 7 which used very old base libraries, so that those AppImages ran on most older still supported versions of different distributions. Unfortunately, CentOS 7 is now so old that we couldn't build some of our software anymore with it. Therefore, we switched to SLES-15 as base for our AppImages assuming that it was old enough, so that it works with most supported distributions. But, unfortunately, SLES-15 uses some base libraries that are newer than what some older distributions like Ubuntu 20.04 support. I don't think there's much we can do.
Comment 5 Jack 2024-01-04 21:54:57 UTC
To me, that seems really bad news for folks who are stuck on older, but still supported distributions, and I"m sure Ubuntu 20.06 is not the only one, especially if they don't want to compile their own version.  Does anyone know if snap or flatpack versions might work?  I know there used to be a PPA which could be used to get a more recent KMyMoney than the official Ubuntu supported version, but I can't find any links right now.