[kmymoney] [Bug 521057] New: AppImage: QMYSQL driver fails to load due to missing libmysqlclient.so.21

Raul bugzilla_noreply at kde.org
Thu Jun 4 17:47:59 BST 2026


https://bugs.kde.org/show_bug.cgi?id=521057

            Bug ID: 521057
           Summary: AppImage: QMYSQL driver fails to load due to missing
                    libmysqlclient.so.21
    Classification: Applications
           Product: kmymoney
      Version First 5.2.2
       Reported In:
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: database
          Assignee: kmymoney-devel at kde.org
          Reporter: ing.raul.alvarez.espinoza at outlook.com
  Target Milestone: ---

The official KMyMoney AppImage (kmymoney-5.2-5688-linux-gcc-x86_64.AppImage) 
includes the QMYSQL SQL driver plugin (libqsqlmysql.so) but fails to connect 
to a MySQL/MariaDB database because libmysqlclient.so.21 is not bundled in 
the AppImage.

Steps to reproduce:
1. Download the official KMyMoney AppImage
2. Extract it with --appimage-extract
3. Add a prebuilt libqsqlmysql.so (Qt 6.9.3, gcc 64-bit) to 
   squashfs-root/usr/plugins/sqldrivers/
4. Try to open a MariaDB database connection

Expected result:
The QMYSQL driver loads and connects to the database.

Actual result:
Error: "Qt SQL driver QMYSQL is no longer installed on your system"
The driver appears in the available drivers list but fails to load because 
libmysqlclient.so.21 is not found.

ldd output shows:
  libmysqlclient.so.21 => not found

Workaround attempted:
- Copying libmariadb.so.3 as libmysqlclient.so.21 — did not work
- Copying libmysqlclient.so.21 from MySQL 8.0.39 tarball — did not work
  (AppImage internal LD_LIBRARY_PATH overrides external settings)

Suggestion:
Bundle libmysqlclient.so.21 inside the AppImage, or document the exact 
steps to enable MySQL/MariaDB support on Linux.

System: Debian 13 "Trixie" x86_64
KMyMoney AppImage version: 5.2-5688
Qt version: 6.9

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list