configure: error: BDB/HDB: BerkeleyDB not available

If you get the error

configure: error: BDB/HDB: BerkeleyDB not available

Make sure you have BerkleyDB installed by running something like

sudo yum install db4

You may also have to run

sudo yum install db4-devel