Installing Berkeley DB on MacOS
From Foochal
[edit]
Build instructions
1. Download the binaries from here: http://www.oracle.com/technology/software/products/berkeley-db/db/index.html.
2. Extract the downloaded zip file in the ~/software/db-4.7.25/ directory.
3. Go to the build_unix directory. It works for MacOS too!
cd build_unix
4. Enable java linked library.
../dist/configure --enable-java
5. Build it
make
6. Install it. You need sudo access.
sudo make install
7. Lastly, you need to update the libdir
export LIBDIR=/usr/local/BerkeleyDB.4.7/lib:$LIBDIR
[edit]

