This can be fixed by downgrading the yaml-cpp package on archlinux back to the version which you installed when you compiled mongodb
yaml-cpp