Skip to content

Commit 9f251b7

Browse files
committed
devtools: add libraries for bitcoin-qt to symbol check
Forgot to add these. Also add a short description for each required library.
1 parent e54ebbf commit 9f251b7

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

contrib/devtools/symbol-check.py

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,24 @@
4949
READELF_CMD = os.getenv('READELF', '/usr/bin/readelf')
5050
CPPFILT_CMD = os.getenv('CPPFILT', '/usr/bin/c++filt')
5151
# Allowed NEEDED libraries
52-
ALLOWED_LIBRARIES = {'librt.so.1','libpthread.so.0','libanl.so.1','libm.so.6','libgcc_s.so.1','libc.so.6','ld-linux-x86-64.so.2'}
52+
ALLOWED_LIBRARIES = {
53+
# bitcoind and bitcoin-qt
54+
'libgcc_s.so.1', # GCC base support
55+
'libc.so.6', # C library
56+
'libpthread.so.0', # threading
57+
'libanl.so.1', # DNS resolve
58+
'libm.so.6', # math library
59+
'librt.so.1', # real-time (clock)
60+
'ld-linux-x86-64.so.2', # 64-bit dynamic linker
61+
'ld-linux.so.2', # 32-bit dynamic linker
62+
# bitcoin-qt only
63+
'libX11-xcb.so.1', # part of X11
64+
'libX11.so.6', # part of X11
65+
'libxcb.so.1', # part of X11
66+
'libfontconfig.so.1', # font support
67+
'libfreetype.so.6', # font parsing
68+
'libdl.so.2' # programming interface to dynamic linker
69+
}
5370

5471
class CPPFilt(object):
5572
'''

0 commit comments

Comments
 (0)