[Date Prev][Date Next]
Re: small problem building 2.2.17 with BerkeleyDB.4.2
I run OpenLDAP 2.1.25 with BDB 4.1 on Solaris 8. Here's my build script:
env CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include -I/usr/local/ssl/include
./configure --enable-slapd --disable-cleartext --enable-crypt --with-tls \
I am not running 2.2.x with BDB 4.2 because of a strange BDB database
problem with no time to fix. But by specifying the compile include paths,
link-time library search paths, and runtime library search paths, the
config script should be able to find your BDB 4.2 installation.
Hope this helps,
At 03:28 AM 10/19/2004, Alex Sharaz wrote:
Got a wee problem here thatI'm sure is really easy to fix.
I'm running RH ES 3.0 here which i'd like to compile openldap 2.2.17 on.
I've downloaded the BerkeleyDB.4.2 code, which has an installation
directory of /usr/local/BerkeleyDB.4.2
I've added the above directory/lib to the /etc/ld.so.conf file and run
and tried setting up an environment variable in the same command line as
the configure command
even tried env LDPATH .......
When configure runs however, it always says that it can't find any of the
berkeley 4.2 libraries. It finds the 4.1 library in /usr/lib and then
complains about the wrong database version.
I'm sure its something silly, can anyone help?
Sent using Mulberry 3.1.2
Information Technology Consultant
The Robert and Beverly Lewis Center for Neuroimaging
University of Oregon