AppImage

Skipping deployment of blacklisted library

Hi!

I am trying to create the AppImage of the latest newsboat app. It looks like it is created, but when I deployed on target machine, then I got following messages upon execution:

user@Zotac:~$ newsboat-i386.AppImage
newsboat-i386.AppImage: /usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by newsboat-i386.AppImage)
newsboat-i386.AppImage: /usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by newsboat-i386.AppImage)
newsboat-i386.AppImage: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.27' not found (required by newsboat-i386.AppImage)
newsboat-i386.AppImage: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.25' not found (required by /tmp/.mount_newsboeFV1BH/usr/bin/../lib/libcrypto.so.1.1)
newsboat-i386.AppImage: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.27' not found (required by /tmp/.mount_newsboeFV1BH/usr/bin/../lib/libgssapi_krb5.so.2)
newsboat-i386.AppImage: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.25' not found (required by /tmp/.mount_newsboeFV1BH/usr/bin/../lib/libgnutls.so.30)
newsboat-i386.AppImage: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.22' not found (required by /tmp/.mount_newsboeFV1BH/usr/bin/../lib/libgnutls.so.30)
newsboat-i386.AppImage: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.25' not found (required by /tmp/.mount_newsboeFV1BH/usr/bin/../lib/libcrypt.so.1)

I tried to add the missing libraries to the AppDir/usb/lib, but they are skipped during image creation:

Skipping deployment of blacklisted library /usr/lib/i386-linux-gnu/libstdc++.so.6 
Skipping deployment of blacklisted library /lib/i386-linux-gnu/libm.so.6 
Skipping deployment of blacklisted library /lib/i386-linux-gnu/libgcc_s.so.1 
Skipping deployment of blacklisted library /lib/i386-linux-gnu/libc.so.6 

How should I package these additional libraries, so on the target machine the packed application will work?

Regards,
Piotr

Hi @ZaxonXP. The binaries contained in the AppImage need to be compiled on a system not newer than the oldest base system that the AppImage is intended to run on.

You need to compile what goes into the AppImage on a system that is no newer than your target system(s). E.g., you may want to use something like the oldest still-supported Ubuntu LTS release, which currently is xenial. Then the resulting AppImage will run on all still-supported Ubuntu versions.

More information: