1、安装BerkeleyDB 4.7.25:
官方地址:http://download.oracle.com/berkeley-db/db-4.7.25.tar.gz
百度网盘:http://pan.baidu.com/share/link?shareid=425306&uk=1275832674
# tar zxvfdb-4.7.25.tar.gz
# cddb_4.7.25
# cd build_unix/
#../dist/configure -prefix=/home/root/app/BerkeleyDB
# make
# make install
2、安装openldap前准备:配置环境变量
#exportCPPFLAGS="-I/home/root/app/BerkeleyDB/include -D_GNU_SOURCE"
注:不设置make时报getpeereid.c:65: error: storage size of ‘peercred’ isn’tknown错误
#exportLDFLAGS="-L/home/root/app/BerkeleyDB/lib"
注:不设置configure时报configure: error: BDB/HDB: BerkeleyDB notavailable错误
#exportLD_LIBRARY_PATH="/home/root/download/db-4.7.25/build_unix/.libs"
注:不设置configure时报configure: error: Berkeley DB versionmismatch错误
官方地址:http://download.oracle.com/berkeley-db/db-4.7.25.tar.gz
百度网盘:http://pan.baidu.com/share/link?shareid=425306&uk=1275832674
# tar zxvfdb-4.7.25.tar.gz
# cddb_4.7.25
# cd build_unix/
#../dist/configure -prefix=/home/root/app/BerkeleyDB
# make
# make install
2、安装openldap前准备:配置环境变量
#exportCPPFLAGS="-I/home/root/app/BerkeleyDB/include -D_GNU_SOURCE"
注:不设置make时报getpeereid.c:65: error: storage size of ‘peercred’ isn’tknown错误
#exportLDFLAGS="-L/home/root/app/BerkeleyDB/lib"
注:不设置configure时报configure: error: BDB/HDB: BerkeleyDB notavailable错误
#exportLD_LIBRARY_PATH="/home/root/download/db-4.7.25/build_unix/.libs"
注:不设置configure时报configure: error: Berkeley DB versionmismatch错误
