Originally posted by @fanquake in https://github.com/bitcoin/bitcoin/issues/30975#issuecomment-2610191420
Basic usage of building libmultiprocess yourself, on the current Ubuntu LTS release (24.04), for use with Core, doesn’t currently work:
0<libmultiprocess compiled & installed following instructions>
1cmake -B build -DWITH_MULTIPROCESS=ON
2-- The CXX compiler identification is GNU 13.3.0
3-- Detecting CXX compiler ABI info
4-- Detecting CXX compiler ABI info - done
5-- Check for working CXX compiler: /usr/bin/c++ - skipped
6-- Detecting CXX compile features
7-- Detecting CXX compile features - done
8-- Found SQLite3: /usr/include (found suitable version "3.45.1", minimum required is "3.7.17")
9-- Looking for __atomic_load_8 in atomic
10-- Looking for __atomic_load_8 in atomic - not found
11CMake Error at /usr/lib/aarch64-linux-gnu/cmake/CapnProto/CapnProtoConfig.cmake:108 (message):
12 libatomic not found
13Call Stack (most recent call first):
14 /usr/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
15 /usr/local/lib/cmake/Libmultiprocess/LibmultiprocessConfig.cmake:38 (find_dependency)
16 CMakeLists.txt:146 (find_package)
17
18-- Configuring incomplete, errors occurred!
Having to work around this was also mentioned here: https://github.com/bitcoin/bitcoin/pull/10102#issuecomment-2515554249. We can likely work around this ourselves, but something this basic should be fixed before requiring developers to use this library. Along with reporting & upstreaming fixes to what are now new (hard) dependencies for us.