I checked the versions of the sqlite3-devel and it is the same for the obs build as well as on my local build. Also trying a build with optimizsation off and debug symbols does not give a better stacktrace. I compiled with -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_C_FLAGS_DEBUG="-g -O0" -DCMAKE_CXX_FLAGS_DEBUG="-g -O0". The result file is unstripped with debug: minetestserver: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=bec535578f513c2d48d095e6098c900efb7c0459, for GNU/Linux 3.7.0, with debug_info, not stripped