[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Installing 2.0.3 - configuration of LDBM (BerkeleyDB), Linux
Do something like the following:
CPPFLAGS="-I/server/local/BerkeleyDB/include"
LDFLAGS="-L/server/local/BerkeleyDB/lib"
If you are using the DB as a shared library, add the appropriate
-rpath or -R flag to LDFLAGS. That's all you need, configure will
find it, and figure out the version. If not, toy with the configure
options and make sure you used the correct paths.
Randy
> Hi,
>
> I am attempting to install OpenLDAP 2.0.3 on RH Linux 6.2.
>
> I noticed in the install instructions that BerkeleyDB is the recommended
> LDBM backend. I downloaded the lastest version 3.1.17 and installed (using
> default options). It appears to have installed in
> '/usr/local/BerkeleyDB.3.1'.
>
> When I build OpenLDAP do I need to specify any configuration options to use
> BerkeleyDB or will it find it automatically? I have a sneaky feeling that
> OpenLDAP is picking up gdbm by default on Linux (but I might be wrong).
>
> Thanks in advance for any help,
> Mark
>
>