注意:g++ 等编译器必须要安装 安装DB.4.2 # tar zxvf db-4.2.52.tar.gz # cd db-4.2.52 # cd build_unix # ../dist/configure --prefix=/usr/local/BerkeleyDB.4.2 # make # make install 将/usr/local/BerkeleyDB.4.2/lib目录添加到/etc/ld.so.conf再执行一下ldconfig
安装openldap # tar zxvf openldap-stable-20060227.tgz # cd openldap-2.3.20 # env CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include/openssl" LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -L/usr/local/lib/sasl2" # ./configure --prefix=/usr/local/openldap --enable-ldbm
发布评论
评论(1)
安装OPEN LDAP 需要以下软件的支持:
Open ssl 可选
Kerberos Authentication services 可选
Simple Authentication and Security Layer 可选
Database Software 必选
Threads 可选
TCP Wrappers 可选
注意:g++ 等编译器必须要安装
安装DB.4.2
# tar zxvf db-4.2.52.tar.gz
# cd db-4.2.52
# cd build_unix
# ../dist/configure --prefix=/usr/local/BerkeleyDB.4.2
# make
# make install
将/usr/local/BerkeleyDB.4.2/lib目录添加到/etc/ld.so.conf再执行一下ldconfig
安装openldap
# tar zxvf openldap-stable-20060227.tgz
# cd openldap-2.3.20
# env CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include/openssl"
LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -L/usr/local/lib/sasl2"
# ./configure --prefix=/usr/local/openldap --enable-ldbm
# make depend
# make
# make test
# make install