After building depends and compiling core inside a Fedora 29 Docker container:
docker run -it --name fedora-depends --workdir /bitcoin fedora-depends
pushd depends
make -j6 RAPIDCHECK=1
copying packages: native_protobuf boost openssl libevent zeromq qrencode protobuf zlib qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig libX11 xextproto libXext xtrans bdb miniupnpc rapidcheck
to: /bitcoin/depends/x86_64-pc-linux-gnu
popd
./autogen.sh && ./configure --prefix=/bitcoin/depends/x86_64-pc-linux-gnu
Options used to compile and link:
with wallet = yes
with gui / qt = yes
with bip70 = yes
with qr = yes
with zmq = yes
with test = yes
with fuzz = no
with bench = yes
with upnp = yes
use asm = yes
sanitizers =
debug enabled = no
gprof enabled = no
werror = no
target os = linux
build os =
CC = gcc -m64
CFLAGS = -pipe -O2
CPPFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I/bitcoin/depends/x86_64-pc-linux-gnu/share/../include/ -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS
CXX = g++ -m64 -std=c++11
CXXFLAGS = -Wstack-protector -fstack-protector-all -pipe -O2
LDFLAGS = -pthread -Wl,-z,relro -Wl,-z,now -pie -L/bitcoin/depends/x86_64-pc-linux-gnu/share/../lib
ARFLAGS = cr
make check -j6
tail src/test-suite.log
# ERROR: 0
.. contents:: :depth: 2
FAIL: qt/test/test_bitcoin-qt
=============================
./qt/test/test_bitcoin-qt: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
FAIL qt/test/test_bitcoin-qt (exit status: 127)
ldd src/bitcoind
linux-vdso.so.1 (0x00007ffdbeccf000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f1fe8396000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1fe8374000)
librt.so.1 => /lib64/librt.so.1 (0x00007f1fe836a000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f1fe81d2000)
libm.so.6 => /lib64/libm.so.6 (0x00007f1fe804e000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f1fe8033000)
libc.so.6 => /lib64/libc.so.6 (0x00007f1fe7e6b000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1fe8d69000)
ldd src/qt/bitcoin-qt
linux-vdso.so.1 (0x00007ffe9c18a000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9537894000)
librt.so.1 => /lib64/librt.so.1 (0x00007f953788a000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f9537884000)
libm.so.6 => /lib64/libm.so.6 (0x00007f9537700000)
libfontconfig.so.1 => not found
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f95376c3000)
libfreetype.so.6 => not found
libX11-xcb.so.1 => not found
libX11.so.6 => not found
libxcb.so.1 => not found
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f9537529000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f953750e000)
libc.so.6 => /lib64/libc.so.6 (0x00007f9537346000)
/lib64/ld-linux-x86-64.so.2 (0x00007f95399c8000)