Trying to build on raspberry pi 3 latest bullseye with:
cmake -DALLOW_DOWNLOADS=ON -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON -DUSE_SYSTEM_CIVETWEB=OFF -DDCMTK_LIBRARIES=dcmjpls -DCMAKE_BUILD_TYPE=Release ../OrthancServer/
after make I’m getting:
[ 96%] Building CXX object CMakeFiles/MultitenantDicom.dir/AUTOGENERATED/MultitenantDicomResources.cpp.o
[ 96%] Linking CXX shared library libMultitenantDicom.so
/usr/bin/ld: libPluginsDependencies.a(threads_pthread.c.o): in function `CRYPTO_atomic_or':
threads_pthread.c:(.text+0x178): undefined reference to `__atomic_is_lock_free'
/usr/bin/ld: threads_pthread.c:(.text+0x1fc): undefined reference to `__atomic_fetch_or_8'
/usr/bin/ld: libPluginsDependencies.a(threads_pthread.c.o): in function `CRYPTO_atomic_load':
threads_pthread.c:(.text+0x238): undefined reference to `__atomic_is_lock_free'
/usr/bin/ld: threads_pthread.c:(.text+0x288): undefined reference to `__atomic_load_8'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/MultitenantDicom.dir/build.make:234: libMultitenantDicom.so.1.12.3] Error 1
make[1]: *** [CMakeFiles/Makefile2:177: CMakeFiles/MultitenantDicom.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
Any ideas much appreciated!