1.5.5 numerous missing libraries in AppImage

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

000
Posts: 3
Joined: Wed Sep 20, 2023 10:35 am

1.5.5 numerous missing libraries in AppImage

Post by 000 »

XnView MP 1.5.5 Linux AppImage

From the time I wrote to you privately in April regarding missing libraries in the XnView MP 1.4.3 Linux AppImage, newer AppImages contain only one of those libraries (libQt5WaylandClient.so.5) and now have three additional missing libraries.

The current list of missing libraries in the 1.55 AppImage:

libQt5MultimediaGstTools.so.5
libgdk-x11-2.0.so.0
libgssapi_krb5.so.2
libgtk-x11-2.0.so.0
libwayland-client.so.0
libwayland-cursor.so.0
libwayland-egl.so.1

Effect: The AppImage will not run.

To reproduce:

Code: Select all

$ /path/to/XnView_MP.glibc2.17-x86_64-1.5.5.AppImage 
/tmp/.mount_XnView5CdWBl/usr/XnView/XnView: error while loading shared libraries: libwayland-client.so.0: cannot open shared object file: No such file or directory
Actual behaviour (bug): The AppImage will not run.

Expected behaviour: The AppImage should contain the libraries required to run on a wide variety of Linux machines.
User avatar
xnview
Author of XnView
Posts: 44615
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.5.5 numerous missing libraries in AppImage

Post by xnview »

000 wrote: Wed Sep 20, 2023 10:49 pm libgdk-x11-2.0.so.0
libgssapi_krb5.so.2
libgtk-x11-2.0.so.0
libwayland-client.so.0
libwayland-cursor.so.0
libwayland-egl.so.1
I build the package on ubuntu 16LTS, and these libraries don't exist
Pierre.
000
Posts: 3
Joined: Wed Sep 20, 2023 10:35 am

Re: 1.5.5 numerous missing libraries in AppImage

Post by 000 »

Try unpacking the AppImage and running ldd on the following files:

Code: Select all

$ ldd /tmp/squashfs-root/usr/XnView/lib/platformthemes/libqgtk2.so
        linux-vdso.so.1 (0x00007fff2fb80000)
        libgtk-x11-2.0.so.0 => not found
        libgdk-x11-2.0.so.0 => not found
        libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007f0ad4996000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f0ad4936000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f0ad47f2000)
        libQt5DBus.so.5 => /usr/lib64/libQt5DBus.so.5 (0x00007f0ad4761000)
        libQt5Gui.so.5 => /usr/lib64/libQt5Gui.so.5 (0x00007f0ad4000000)
        libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007f0ad3a00000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f0ad461e000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libstdc++.so.6 (0x00007f0ad3600000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f0ad3459000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f0ad3955000)
        libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007f0ad3274000)
        libfribidi.so.0 => /usr/lib64/libfribidi.so.0 (0x00007f0ad4c61000)
        libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007f0ad314d000)
        libffi.so.8 => /usr/lib64/libffi.so.8 (0x00007f0ad4c55000)
        libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f0ad3f63000)
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007f0ad3909000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f0ad30c7000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f0ad45e7000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f0ad30ad000)
        libdouble-conversion.so.3 => /usr/lib64/libdouble-conversion.so.3 (0x00007f0ad3097000)
        libicui18n.so.73 => /usr/lib64/libicui18n.so.73 (0x00007f0ad2c00000)
        libicuuc.so.73 => /usr/lib64/libicuuc.so.73 (0x00007f0ad2800000)
        libpcre2-16.so.0 => /usr/lib64/libpcre2-16.so.0 (0x00007f0ad3008000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 (0x00007f0ad2fe4000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f0ad4c94000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f0ad2fba000)
        libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f0ad3902000)
        libmount.so.1 => /lib64/libmount.so.1 (0x00007f0ad2f57000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f0ad2b34000)
        libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007f0ad2f32000)
        libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007f0ad2a7b000)
        libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007f0ad2a47000)
        libicudata.so.73 => /usr/lib64/libicudata.so.73 (0x00007f0ad0800000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f0ad38f9000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f0ad2a3f000)
        libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f0ad27a8000)
        libcryptsetup.so.12 => /usr/lib64/libcryptsetup.so.12 (0x00007f0ad2729000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f0ad2a2c000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f0ad2a23000)
        libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x00007f0ad26d1000)
        libssl.so.3 => /usr/lib64/libssl.so.3 (0x00007f0ad075b000)
        libcrypto.so.3 => /usr/lib64/libcrypto.so.3 (0x00007f0ad0200000)
        libjson-c.so.5 => /usr/lib64/libjson-c.so.5 (0x00007f0ad2a10000)

$ ldd /tmp/squashfs-root/usr/XnView/lib/styles/libqgtk2style.so
        linux-vdso.so.1 (0x00007ffd5b1b4000)
        libgtk-x11-2.0.so.0 => not found
        libgdk-x11-2.0.so.0 => not found
        libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x00007f0572515000)
        libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007f05724ab000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f057244b000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f05720bc000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f0571f79000)
        libQt5Widgets.so.5 => /usr/lib64/libQt5Widgets.so.5 (0x00007f0571800000)
        libQt5Gui.so.5 => /usr/lib64/libQt5Gui.so.5 (0x00007f0571200000)
        libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007f0570c00000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libstdc++.so.6 (0x00007f0570800000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f0571ece000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f0570659000)
        libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f0572440000)
        libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007f0570474000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f05711c9000)
        libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007f0570b3d000)
        libfribidi.so.0 => /usr/lib64/libfribidi.so.0 (0x00007f0571eae000)
        libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007f057034d000)
        libffi.so.8 => /usr/lib64/libffi.so.8 (0x00007f05717f4000)
        libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f05702b0000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f057119f000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f057022a000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f0571185000)
        libdouble-conversion.so.3 => /usr/lib64/libdouble-conversion.so.3 (0x00007f057116f000)
        libicui18n.so.73 => /usr/lib64/libicui18n.so.73 (0x00007f056fe00000)
        libicuuc.so.73 => /usr/lib64/libicuuc.so.73 (0x00007f056fa00000)
        libpcre2-16.so.0 => /usr/lib64/libpcre2-16.so.0 (0x00007f057019b000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 (0x00007f0570b19000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f0572551000)
        libmount.so.1 => /lib64/libmount.so.1 (0x00007f0570138000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f056fd34000)
        libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007f056fd0f000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f0572435000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f05717ec000)
        libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007f056fc56000)
        libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007f056fc22000)
        libicudata.so.73 => /usr/lib64/libicudata.so.73 (0x00007f056da00000)
        libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f056f9a8000)
        libcryptsetup.so.12 => /usr/lib64/libcryptsetup.so.12 (0x00007f056f929000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f0570b06000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f0571166000)
        libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x00007f056f8d1000)
        libssl.so.3 => /usr/lib64/libssl.so.3 (0x00007f056d95b000)
        libcrypto.so.3 => /usr/lib64/libcrypto.so.3 (0x00007f056d400000)
        libjson-c.so.5 => /usr/lib64/libjson-c.so.5 (0x00007f056fc0f000)

$ ldd /tmp/squashfs-root/usr/XnView/lib/libQt5Network.so.5.15.11
ldd: warning: you do not have execution permission for `/tmp/squashfs-root/usr/XnView/lib/libQt5Network.so.5.15.11'
        linux-vdso.so.1 (0x00007ffe17545000)
        libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007fd2b5c00000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fd2b6663000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fd2b6649000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fd2b6644000)
        libgssapi_krb5.so.2 => not found
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libstdc++.so.6 (0x00007fd2b5800000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fd2b5b55000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 (0x00007fd2b661e000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fd2b5659000)
        libdouble-conversion.so.3 => /usr/lib64/libdouble-conversion.so.3 (0x00007fd2b6608000)
        libicui18n.so.73 => /usr/lib64/libicui18n.so.73 (0x00007fd2b5200000)
        libicuuc.so.73 => /usr/lib64/libicuuc.so.73 (0x00007fd2b4e00000)
        libpcre2-16.so.0 => /usr/lib64/libpcre2-16.so.0 (0x00007fd2b6171000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fd2b50bc000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fd2b6677000)
        libicudata.so.73 => /usr/lib64/libicudata.so.73 (0x00007fd2b2e00000)
        libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007fd2b55bc000)

$ ldd /tmp/squashfs-root/usr/XnView/lib/libQt5WaylandClient.so.5.15.11
ldd: warning: you do not have execution permission for `/tmp/squashfs-root/usr/XnView/lib/libQt5WaylandClient.so.5.15.11'
        linux-vdso.so.1 (0x00007ffe9fb4e000)
        libQt5Gui.so.5 => /usr/lib64/libQt5Gui.so.5 (0x00007f6b38800000)
        libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007f6b38200000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6b3930d000)
        libwayland-cursor.so.0 => not found
        libwayland-client.so.0 => not found
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f6b392bf000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f6b391f3000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f6b391d9000)
        libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007f6b391d4000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f6b380bc000)
        libQt5DBus.so.5 => /usr/lib64/libQt5DBus.so.5 (0x00007f6b3876f000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f6b3914c000)
        libxkbcommon.so.0 => /usr/lib64/libxkbcommon.so.0 (0x00007f6b38076000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libstdc++.so.6 (0x00007f6b37c00000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f6b37fcb000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 (0x00007f6b37fa7000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f6b37a59000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f6b37f70000)
        libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007f6b37932000)
        libdouble-conversion.so.3 => /usr/lib64/libdouble-conversion.so.3 (0x00007f6b38de8000)
        libicui18n.so.73 => /usr/lib64/libicui18n.so.73 (0x00007f6b37600000)
        libicuuc.so.73 => /usr/lib64/libicuuc.so.73 (0x00007f6b37200000)
        libpcre2-16.so.0 => /usr/lib64/libpcre2-16.so.0 (0x00007f6b37571000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f6b39321000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f6b37f45000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f6b37f32000)
        libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f6b374d4000)
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007f6b37488000)
        libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007f6b37147000)
        libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007f6b37efe000)
        libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007f6b37463000)
        libicudata.so.73 => /usr/lib64/libicudata.so.73 (0x00007f6b35200000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f6b350bd000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f6b37439000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f6b38764000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f6b37431000)

$ ldd /tmp/squashfs-root/usr/XnView/lib/libmdk.so
ldd: warning: you do not have execution permission for `/tmp/squashfs-root/usr/XnView/lib/libmdk.so'
        linux-vdso.so.1 (0x00007ffc6d1a5000)
        libc++.so.1 => not found
        libpulse.so.0 => not found
        libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007efcf7168000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007efcf7163000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007efcf70dd000)
        libwayland-client.so.0 => not found
        libgbm.so.1 => /usr/lib64/libgbm.so.1 (0x00007efcf70ca000)
        libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007efcf70b3000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007efcf70ae000)
        libm.so.6 => /lib64/libm.so.6 (0x00007efcf7003000)
        libc.so.6 => /lib64/libc.so.6 (0x00007efcf6e5c000)
        /lib64/ld-linux-x86-64.so.2 (0x00007efcf73e0000)
        libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007efcf6da3000)
        libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007efcf6d6d000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007efcf6d42000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007efcf6bff000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007efcf6bd5000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007efcf6bd0000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007efcf6bc6000)

$ ldd /tmp/squashfs-root/usr/XnView/lib/platforms/libqwayland-egl.so
        linux-vdso.so.1 (0x00007fff4e0fe000)
        libQt5WaylandClient.so.5 => not found
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007eff8c103000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007eff8bcbd000)
        libQt5Gui.so.5 => /usr/lib64/libQt5Gui.so.5 (0x00007eff8b600000)
        libQt5DBus.so.5 => /usr/lib64/libQt5DBus.so.5 (0x00007eff8c072000)
        libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007eff8b000000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007eff8bc37000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007eff8c06b000)
        libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007eff8c055000)
        libwayland-cursor.so.0 => not found
        libwayland-egl.so.1 => not found
        libwayland-client.so.0 => not found
        libxkbcommon.so.0 => /usr/lib64/libxkbcommon.so.0 (0x00007eff8bbf1000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007eff8c04e000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libstdc++.so.6 (0x00007eff8ac00000)
        libm.so.6 => /lib64/libm.so.6 (0x00007eff8af55000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 (0x00007eff8c02a000)
        libc.so.6 => /lib64/libc.so.6 (0x00007eff8aa59000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007eff8b5d6000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007eff8b59f000)
        libz.so.1 => /lib64/libz.so.1 (0x00007eff8b585000)
        libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007eff8a932000)
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007eff8af09000)
        libdouble-conversion.so.3 => /usr/lib64/libdouble-conversion.so.3 (0x00007eff8c012000)
        libicui18n.so.73 => /usr/lib64/libicui18n.so.73 (0x00007eff8a600000)
        libicuuc.so.73 => /usr/lib64/libicuuc.so.73 (0x00007eff8a200000)
        libpcre2-16.so.0 => /usr/lib64/libpcre2-16.so.0 (0x00007eff8a571000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007eff8a42d000)
        /lib64/ld-linux-x86-64.so.2 (0x00007eff8c127000)
        libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007eff8a147000)
        libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007eff8a113000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007eff8bbe8000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007eff8b57d000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007eff8a047000)
        libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007eff8a408000)
        libicudata.so.73 => /usr/lib64/libicudata.so.73 (0x00007eff88000000)
        libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007eff89faa000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007eff8b568000)

$  ldd /tmp/squashfs-root/usr/XnView/lib/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so
        linux-vdso.so.1 (0x00007ffda555a000)
        libQt5WaylandClient.so.5 => not found
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f7cad7eb000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f7cad6a8000)
        libQt5Gui.so.5 => /usr/lib64/libQt5Gui.so.5 (0x00007f7cad000000)
        libQt5DBus.so.5 => /usr/lib64/libQt5DBus.so.5 (0x00007f7cad617000)
        libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007f7caca00000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f7cacf7a000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7cada14000)
        libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007f7cad601000)
        libwayland-cursor.so.0 => not found
        libwayland-egl.so.1 => not found
        libwayland-client.so.0 => not found
        libxkbcommon.so.0 => /usr/lib64/libxkbcommon.so.0 (0x00007f7cac9ba000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f7cad5fc000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libstdc++.so.6 (0x00007f7cac600000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f7cac90f000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 (0x00007f7cac5dc000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f7cac435000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f7cac40b000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f7cac3d4000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f7cac3ba000)
        libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007f7cac293000)
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007f7cac247000)
        libdouble-conversion.so.3 => /usr/lib64/libdouble-conversion.so.3 (0x00007f7cacf64000)
        libicui18n.so.73 => /usr/lib64/libicui18n.so.73 (0x00007f7cabe00000)
        libicuuc.so.73 => /usr/lib64/libicuuc.so.73 (0x00007f7caba00000)
        libpcre2-16.so.0 => /usr/lib64/libpcre2-16.so.0 (0x00007f7cac1b8000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f7cabcbc000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f7cada2a000)
        libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007f7cabc03000)
        libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007f7cac184000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f7cad5f3000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f7cad5eb000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f7cab934000)
        libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007f7cac15f000)
        libicudata.so.73 => /usr/lib64/libicudata.so.73 (0x00007f7ca9a00000)
        libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f7cab897000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f7cac8fc000)
I have truncated the above list due to concerns about length. Many other libraries in the AppImage dynamically link to libwayland-client.so.0 and libwayland-cursor.so.0. I will list those here:

Code: Select all

/tmp/squashfs-root/usr/XnView/lib/platforms/libqwayland-generic.so
/tmp/squashfs-root/usr/XnView/lib/platforms/libqwayland-xcomposite-egl.so
/tmp/squashfs-root/usr/XnView/lib/platforms/libqwayland-xcomposite-glx.so
/tmp/squashfs-root/usr/XnView/lib/wayland-decoration-client/libbradient.so
/tmp/squashfs-root/usr/XnView/lib/wayland-graphics-integration-client/libdmabuf-server.so
/tmp/squashfs-root/usr/XnView/lib/wayland-graphics-integration-client/libdrm-egl-server.so
/tmp/squashfs-root/usr/XnView/lib/wayland-graphics-integration-client/libshm-emulation-server.so
/tmp/squashfs-root/usr/XnView/lib/wayland-graphics-integration-client/libvulkan-server.so
/tmp/squashfs-root/usr/XnView/lib/wayland-graphics-integration-client/libxcomposite-egl.so
/tmp/squashfs-root/usr/XnView/lib/wayland-graphics-integration-client/libxcomposite-glx.so
/tmp/squashfs-root/usr/XnView/lib/wayland-shell-integration/libfullscreen-shell-v1.so
/tmp/squashfs-root/usr/XnView/lib/wayland-shell-integration/libivi-shell.so
/tmp/squashfs-root/usr/XnView/lib/wayland-shell-integration/libwl-shell.so
/tmp/squashfs-root/usr/XnView/lib/wayland-shell-integration/libxdg-shell-v5.so
/tmp/squashfs-root/usr/XnView/lib/wayland-shell-integration/libxdg-shell-v6.so
/tmp/squashfs-root/usr/XnView/lib/wayland-shell-integration/libxdg-shell.so
Some of the libraries listed as "not found" in the ldd output do exist in the AppImage (I assume that starting the AppImage temporarily alters the list of directories in which to search for libraries), but the seven libraries in the list absolutely do not exist in the AppImage (or on my system).


Just out of curiosity, why do you have anything GTK-related in XnView (especially GTK-2, given that GTK-4 came out more than two years ago, and the first release of GTK-2.24 came out more than TWELVE years ago) since you already use (and include) the necessary Qt libraries?
User avatar
xnview
Author of XnView
Posts: 44615
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.5.5 numerous missing libraries in AppImage

Post by xnview »

000 wrote: Fri Oct 06, 2023 3:04 pm Try unpacking the AppImage and running ldd on the following files:
Please try this version build for Ubuntu Xenial
Just out of curiosity, why do you have anything GTK-related in XnView (especially GTK-2, given that GTK-4 came out more than two years ago, and the first release of GTK-2.24 came out more than TWELVE years ago) since you already use (and include) the necessary Qt libraries?
Some systems need the gtk plugin but it is not updated for gtk4
Pierre.
000
Posts: 3
Joined: Wed Sep 20, 2023 10:35 am

Re: 1.5.5 numerous missing libraries in AppImage

Post by 000 »

xnview wrote: Sat Oct 07, 2023 9:03 am
000 wrote: Fri Oct 06, 2023 3:04 pm Try unpacking the AppImage and running ldd on the following files:
Please try this version build for Ubuntu Xenial

Sorry for the delay responding. Yes, that appears to work perfectly. Thank you SO much.