When trying to compile Bitcoin Core with legacy wallet on OpenBSD 7.2 stable running on RPI3, the process fails while running
install_db4.sh script
checking for getopt optreset variable… yes checking for mutexes… UNIX/fcntl configure: WARNING: NO SHARED LATCH IMPLEMENTATION FOUND FOR THIS PLATFORM. configure: error: Unable to find a mutex implementation