on Fedora 31
sudo dnf install boost-devel boost-static
build error
[388/391] Linking CXX executable app/sourcetrail_indexer
FAILED: app/sourcetrail_indexer
: && /usr/lib64/ccache/c++ -rdynamic CMakeFiles/Sourcetrail_indexer.dir/src/indexer/main.cpp.o -o app/sourcetrail_indexer -Wl,-rpath,:::::::::::::::::::::::::: libSourcetrail_lib.a libSourcetrail_lib_gui.a libSourcetrail_lib_utility.a -Wl,-Bstatic -lboost_system -lboost_program_options -lboost_filesystem -lboost_date_time -Wl,-Bdynamic /usr/lib64/libQt5Network.so.5.12.5 /usr/lib64/libQt5Svg.so.5.12.5 /usr/lib64/libQt5Widgets.so.5.12.5 /usr/lib64/libQt5Gui.so.5.12.5 /usr/lib64/libQt5Core.so.5.12.5 && :
/usr/bin/ld: libSourcetrail_lib.a(SharedMemory.cpp.o): undefined reference to symbol 'sem_open@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[389/391] Linking CXX executable test/Sourcetrail_test
FAILED: test/Sourcetrail_test
: && /usr/lib64/ccache/c++ -rdynamic CMakeFiles/Sourcetrail_test.dir/src/test/helper/TestFileRegister.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/test_main.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/CommandlineTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/ConfigManagerTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/CxxIncludeProcessingTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/CxxParserTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/CxxTypeNameTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/FileManagerTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/FilePathFilterTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/FilePathTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/FileSystemTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/GraphTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/JavaIndexSampleProjectsTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/JavaParserTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/LogManagerTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/LowMemoryStringMapTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/MatrixBaseTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/MatrixDynamicBaseTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/MessageQueueTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/NetworkProtocolHelperTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/RefreshInfoGeneratorTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/SearchIndexTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/SettingsMigratorTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/SettingsTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/SharedMemoryTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/SourceGroupTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/SourceLocationCollectionTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/SqliteBookmarkStorageTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/SqliteIndexStorageTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/StorageTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/TaskSchedulerTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/TextAccessTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/UtilityMavenTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/UtilityStringTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/UtilityTestSuite.cpp.o CMakeFiles/Sourcetrail_test.dir/src/test/Vector2TestSuite.cpp.o -o test/Sourcetrail_test libSourcetrail_lib.a libSourcetrail_lib_gui.a libSourcetrail_lib_utility.a -Wl,-Bstatic -lboost_system -lboost_program_options -lboost_filesystem -lboost_date_time -Wl,-Bdynamic /usr/lib64/libQt5Network.so.5.12.5 /usr/lib64/libQt5Svg.so.5.12.5 /usr/lib64/libQt5Widgets.so.5.12.5 /usr/lib64/libQt5Gui.so.5.12.5 /usr/lib64/libQt5Core.so.5.12.5 && :
/usr/bin/ld: libSourcetrail_lib.a(sqlite3.c.o): undefined reference to symbol 'pthread_join@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.