Core dump on MongoDB 5.0 on RPi 4

Hi Folks,

I’ve tracked down this issue to a change in the arm64 microarchitecture requirements for MongoDB 5.0 packages. MongoDB 5.0 requires ARM v8.2-A or later and the Raspberry Pi 4 uses an ARM Cortex-A72 which is ARM v8-A.

Unfortunately this means the pre-built packages for MongoDB 5.0 will not support Raspberry Pi 4.

However, you should be able to build from source by adding CCFLAGS-march=armv8 to the SCons invocation. See Building MongoDB for full instructions.

If building from source is a daunting prospect, an alternative would be to install the latest ARM 64 package of MongoDB 4.4.

Regards,
Stennie

2 Likes