1# This file lists libraries that we will assume to be present on the host system and hence
2# should NOT be bundled inside AppImages. This is a working document; expect it to change
3# over time. File format: one filename per line. Each entry should have a justification comment.
4
5ld-linux.so.2
6ld-linux-x86-64.so.2
7libanl.so.1
8libBrokenLocale.so.1
9libcidn.so.1
10libcrypt.so.1
11libc.so.6
12libdl.so.2
13libm.so.6
14libmvec.so.1
15libnsl.so.1
16libnss_compat.so.2
17libnss_db.so.2
18libnss_dns.so.2
19libnss_files.so.2
20libnss_hesiod.so.2
21libnss_nisplus.so.2
22libnss_nis.so.2
23libpthread.so.0
24libresolv.so.2
25librt.so.1
26libthread_db.so.1
27libutil.so.1
28# These files are all part of the GNU C Library which should never be bundled.
29# List was generated from a fresh build of glibc 2.25.
30
31libstdc++.so.6
32# Workaround for:
33# usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found
34
35libGL.so.1
36# Part of the video driver (OpenGL); present on any regular
37# desktop system, may also be provided by proprietary drivers.
38# Known to cause issues if it's bundled.
39
40libdrm.so.2
41# Workaround for:
42# Antergos Linux release 2015.11 (ISO-Rolling)
43# /usr/lib/libdrm_amdgpu.so.1: error: symbol lookup error: undefined symbol: drmGetNodeTypeFromFd (fatal)
44# libGL error: unable to load driver: swrast_dri.so
45# libGL error: failed to load driver: swrast
46# Unrecognized OpenGL version
47
48libxcb.so.1
49# Workaround for:
50# Fedora 23
51# symbol lookup error: /lib64/libxcb-dri3.so.0: undefined symbol: xcb_send_fd
52# Uncertain if this is required to be bundled for some distributions - if so we need to write a version check script and use LD_PRELOAD to load the system version if it is newer
53# Fedora 25:
54# undefined symbol: xcb_send_request_with_fds
55# https://github.com/probonopd/AppImages/issues/128
56
57libX11.so.6
58# Workaround for:
59# Fedora 23
60# symbol lookup error: ./lib/libX11.so.6: undefined symbol: xcb_wait_for_reply64
61# Uncertain if this is required to be bundled for some distributions - if so we need to write a version check script and use LD_PRELOAD to load the system version if it is newer
62
63#libgio-2.0.so.0
64# Workaround for:
65# On Ubuntu, "symbol lookup error: /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/liboverlay-scrollbar.so: undefined symbol: g_settings_new"
66
67libgdk-x11-2.0.so.0
68libgtk-x11-2.0.so.0
69# Simply to reduce size - not known to cause issues
70
71libasound.so.2
72# Workaround for:
73# No sound, e.g., in VLC.AppImage (does not find sound cards)
74
75#libgdk_pixbuf-2.0.so.0
76# Workaround for:
77# On Ubuntu, get (inkscape:25621): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported
78
79#libfontconfig.so.1
80# Workaround for:
81# Application stalls when loading fonts during application launch; e.g., KiCad on ubuntu-mate
82
83#libselinux.so.1
84# Workaround for:
85# sed: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
86
87# The following are assumed to be part of the base system
88# Removing these has worked e.g., for Krita. Feel free to report if
89# you think that some of these should go into AppImages and why.
90libcom_err.so.2
91libcrypt.so.1
92libexpat.so.1
93libgcc_s.so.1
94#libglib-2.0.so.0
95libgpg-error.so.0
96libgssapi_krb5.so.2 # Disputed, seemingly needed by Arch Linux since Kerberos is named differently there
97# libgssapi.so.3 # Seemingly needed when running Ubuntu 14.04 binaries on Fedora 23
98libhcrypto.so.4
99# libheimbase.so.1 # Seemingly needed when running Ubuntu 14.04 binaries on Fedora 23
100# libheimntlm.so.0 # Seemingly needed when running Ubuntu 14.04 binaries on Fedora 23
101libhx509.so.5
102libICE.so.6
103libidn.so.11
104libk5crypto.so.3
105libkeyutils.so.1
106libkrb5.so.26 # Disputed, seemingly needed by Arch Linux since Kerberos is named differently there
107libkrb5.so.3 # Disputed, seemingly needed by Arch Linux since Kerberos is named differently there
108libkrb5support.so.0 # Disputed, seemingly needed by Arch Linux since Kerberos is named differently there
109libp11-kit.so.0
110# libpcre.so.3 # Missing on Fedora 24 and on SLED 12 SP1
111libroken.so.18
112# libsasl2.so.2 # Seemingly needed when running Ubuntu 14.04 binaries on Fedora 23
113libSM.so.6
114libusb-1.0.so.0
115libuuid.so.1
116libwind.so.0
117libz.so.1
118
119# Potentially dangerous libraries
120#libgobject-2.0.so.0
121
122# Workaround for:
123# e.g., Spotify
124# relocation error: /lib/x86_64-linux-gnu/libgcrypt.so.20:
125# symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined
126# in file libgpg-error.so.0 with link time reference
127libgpg-error.so.0
128
129# Unsolved issue:
130# https://github.com/probonopd/linuxdeployqt/issues/35
131# Error initializing NSS with a persistent database (sql:/home/me/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
132# Error initializing NSS without a persistent database: NSS error code: -5925
133# nss_error=-5925, os_error=0
134# libnss3.so should not be removed from the bundles, as this causes other issues, e.g.,
135# https://github.com/probonopd/linuxdeployqt/issues/35#issuecomment-256213517
136# and https://github.com/probonopd/AppImages/pull/114
137# libnss3.so
138
139# The following cannot be excluded, see
140# https://github.com/probonopd/AppImages/commit/6c7473d8cdaaa2572248dcc53d7f617a577ade6b
141# http://stackoverflow.com/questions/32644157/forcing-a-binary-to-use-a-specific-newer-version-of-a-shared-library-so
142# libssl.so.1
143# libssl.so.1.0.0
144# libcrypto.so.1
145# libcrypto.so.1.0.0
146