Compile and install Berkeley DB on Mac OS X Yosemite

  • Make sure you have xcode installed.
  • Download Berkeley DB from Oracle.
  • Compile and install:
    cd db-6.1.19/build_unix
    ../dist/configure --disable-replication --prefix=/usr/local
    sudo make install
  • To check where the files are located, run
    find /usr/local | grep db
    you should see something like below:

No comments:

Post a Comment