The Berkeley DB package contains version 3.3.11 of the Berkeley Database.
Download (FTP): ftp://ftp.pu.edu.tw/Unix/Database/BerkeleyDB/db-3.3.11.tar.gz
Download size: 2.3 MB
Estimated Disk space required: 20.3 MB
Estimated build time: 0.80 SBU
Recommended Patch: http://www.sleepycat.com/webforms/patchdl.php?src=patch.3.3.11.1
Required Patch: http://www.sleepycat.com/webforms/patchdl.php?src=patch.3.3.11.2
Install Berkeley DB by running the following commands:
cd build_unix &&
../dist/configure --prefix=/opt/db-3.3 --enable-compat185 &&
make &&
make docdir=/opt/db-3.3/doc/Berkeley-DB install &&
cd /opt/db-3.3/lib/ &&
rm -f libdb.so &&
for i in $(ls); do mv $i /usr/lib; ln -sf /usr/lib/$i; done &&
cd /opt/db-3.3/include/ &&
sed -i 's/^DB185/DB/' db_185.h &&
ln -nsf /opt/db-3.3/include /usr/include/db3
sed 's/^DB185/DB/' /usr/include/db_185.h > /usr/include/db_185.h.new: Change the DB185 database pointer to DB.
The Berkeley DB package contains db_archive, db_checkpoint, db_deadlock, db_dump, db_load, db_printlog, db_recover, db_stat, db_upgrade and db_verify.