[Date Prev][Date Next] [Chronological] [Thread] [Top]

Painless change from BDB 4.1.25 to BDB 4.2.52



rpm and other "ready-made" fans stop reading now.

Platform: RH Enterprise Server 3, gcc 3.2.3, BDB 4.1.25 is RH standard.
Openldap 2.1.25.

Just for the record: A little while ago I asked if there would be
conflicts with BDB 4.1.25 already installed, if (I meant source-code)
BDB 4.2.52 were installed "alongside". There aren't :) *If* certain
basics are adhered to.

A standard BDB '../dist/configure --disable-largfile ; make; make
install' installs to /usr/local/BerkeleyDB.4.2/ in bin, docs, include
and lib directories.

However, I don't see RedHat providing any similar config for ES3 in the
foreseeable future. It would be interesting to see which way Fedora will
go.

Openldap obviously has to be recompiled for BDB 4.2.52. It it's pointed
to the new BDB directories, a new './configure;make;make test' happens
painlessly. I now have Openldap 2.1.25 running well on BDB 4.2.52.

My Openldap source do-conf file:

LDFLAGS="-L/usr/local/lib -L/usr/local/lib/sasl2
-L/usr/local/BerkeleyDB.4.2/lib" \
CPPFLAGS="-I/usr/local/ssl/include/openssl -I/usr/local/include
-I/usr/local/BerkeleyDB.4.2/include" \
LIBS="-lssl -lcrypt -lsasl2" \
        ./configure \
        --with-tls \
        --enable-crypt \
        --with-cyrus-sasl \
        --enable-lmpasswd \
        --enable-spasswd \
        --enable-phonetic \
        --enable-shared \
        --enable-crypt \
        --enable-ldbm \
        --enable-ipv6=no

--Tonni

-- 
mail: billy - at - billy.demon.nl
http://billy.demon.nl