Missing library in AppImage (libxcb-cursor.so.0)

First of all, the latest version (80.0) which includes libp11-kit has solved my previous issue regarding that library missing in the AppImage. Thank you for pointing me in the direction to get that fixed.

However, I have a new issue. Attempting to run the AppImage produces the following output (only the last four lines appear without setting QT_DEBUG_PLUGINS=1):

$ QT_DEBUG_PLUGINS=1 MKVToolNix_GUI-80.0-x86_64.AppImage                                         
qt.core.plugin.factoryloader: checking directory path "/tmp/.mount_MKVToooDbGql/usr/bin/platforms" ...
qt.core.plugin.factoryloader: looking at "/tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqminimal.so"
qt.core.plugin.loader: Found metadata in lib /tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimal")
qt.core.plugin.factoryloader: looking at "/tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqminimalegl.so"
qt.core.plugin.loader: Found metadata in lib /tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimalegl")
qt.core.plugin.factoryloader: looking at "/tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqoffscreen.so"
qt.core.plugin.loader: Found metadata in lib /tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archlevel": 1,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("offscreen")
qt.core.plugin.factoryloader: looking at "/tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqwayland-egl.so"
qt.core.plugin.loader: Found metadata in lib /tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland-egl")
qt.core.plugin.factoryloader: looking at "/tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqwayland-generic.so"
qt.core.plugin.loader: Found metadata in lib /tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland")
qt.core.plugin.factoryloader: looking at "/tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqxcb.so"
qt.core.plugin.loader: Found metadata in lib /tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archlevel": 1,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb")
qt.core.library: "/tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqxcb.so" cannot load: Cannot load library /tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)
qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "/tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqxcb.so" : "Cannot load library /tmp/.mount_MKVToooDbGql/usr/bin/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal, minimalegl, offscreen, wayland-egl, wayland, xcb.

Aborted

Running ldd confirms the following two files link to the non-existent libxcb-cursor:

/tmp/squashfs-root/usr/bin/platforms/libqxcb.so
/tmp/squashfs-root/usr/lib/libQt6XcbQpa.so.6

The AppImage does not provide it:

$ ls -al /tmp/squashfs-root/usr/lib/libxcb-*
-rwxr-xr-x 1 root root  24064 2023-11-07 09:55:10 /tmp/squashfs-root/usr/lib/libxcb-icccm.so.4*
-rwxr-xr-x 1 root root  20240 2023-11-07 09:55:10 /tmp/squashfs-root/usr/lib/libxcb-image.so.0*
-rwxr-xr-x 1 root root  11936 2023-11-07 09:55:10 /tmp/squashfs-root/usr/lib/libxcb-keysyms.so.1*
-rwxr-xr-x 1 root root  91264 2023-11-07 09:55:10 /tmp/squashfs-root/usr/lib/libxcb-randr.so.0*
-rwxr-xr-x 1 root root  16936 2023-11-07 09:55:10 /tmp/squashfs-root/usr/lib/libxcb-render-util.so.0*
-rwxr-xr-x 1 root root  73512 2023-11-07 09:55:10 /tmp/squashfs-root/usr/lib/libxcb-render.so.0*
-rwxr-xr-x 1 root root  19768 2023-11-07 09:55:10 /tmp/squashfs-root/usr/lib/libxcb-shape.so.0*
-rwxr-xr-x 1 root root  19008 2023-11-07 09:55:10 /tmp/squashfs-root/usr/lib/libxcb-shm.so.0*
-rwxr-xr-x 1 root root  35600 2023-11-07 09:55:10 /tmp/squashfs-root/usr/lib/libxcb-sync.so.1*
-rwxr-xr-x 1 root root  25104 2023-11-07 09:55:10 /tmp/squashfs-root/usr/lib/libxcb-util.so.1*
-rwxr-xr-x 1 root root  41208 2023-11-07 09:55:10 /tmp/squashfs-root/usr/lib/libxcb-xfixes.so.0*
-rwxr-xr-x 1 root root 152160 2023-11-07 09:55:10 /tmp/squashfs-root/usr/lib/libxcb-xkb.so.1*

I noticed a couple of other oddities in the latest AppImage.

  1. The AppRun file contains this line, but none of the paths exist in the AppImage:

export QT_PLUGIN_PATH="$APPDIR/usr/lib/qt4/plugins/:$APPDIR/usr/lib/i386-linux-gnu/qt4/plugins/:$APPDIR/usr/lib/x86_64-linux-gnu/qt4/plugins/:$APPDIR/usr/lib32/qt4/plugins/:$APPDIR/usr/lib64/qt4/plugins/:$APPDIR/usr/lib/qt5/plugins/:$APPDIR/usr/lib/i386-linux-gnu/qt5/plugins/:$APPDIR/usr/lib/x86_64-linux-gnu/qt5/plugins/:$APPDIR/usr/lib32/qt5/plugins/:$APPDIR/usr/lib64/qt5/plugins/:$QT_PLUGIN_PATH"

  1. The AppImage contains two (identical) libcrypto files:
$ ls -al usr/lib/libcrypto.so.1.1*
-rwxr-xr-x 1 root root 3083896 2023-11-07 09:55:10 usr/lib/libcrypto.so.1.1*
-rwxr-xr-x 1 root root 3083896 2023-11-07 09:55:10 usr/lib/libcrypto.so.1.1.1k*