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

Re: build problem



On Wed, 21 Dec 2005, Mike Lindsey wrote:

I've got an OpenLDAP 2.3.11 build problem on FreeBSD 4.9.

I've got sasl version 2.1.21 installed, and I've tried it with Berkeley DB
4.2.52, and 4.4.16.

here's what I get:

$ CPPFLAGS="-I/usr/local/include/sasl -I/usr/include/gdbm
-I/usr/local/BerkeleyDB.4.4/include"
$ LDFLAGS="-L/usr/local/BerkeleyDB.4.4/lib -L/usr/local/lib/sasl2"
$ ./configure

I just built openldap 2.3.13 on freebsd 5.4 a few minutes ago. I don't use sasl, but here is what I just used successfully.


export CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include"
export LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib"
export LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.2/lib"
./configure --prefix=/usr/local/openldap-2.3.13

Then before I started it:
cd /usr/local/lib
ln -s /usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so
ldconfig