unix_build.md states, about berkely db
"You need Berkeley DB 4.8. If you have to build Berkeley DB yourself:
cd build_unix/ ../dist/configure --enable-cxx make sudo make install"
I recall doing this a few versions ago I do not have a directory called build_unix in my most recent clone of 9.1 core.
-Altoidnerd