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

Re: Berkeley DB 4.0.14 and openldap 2.1.3



On Fri, 12 Jul 2002 11:15:14 -0600
"BaTien Duong" <batien.duong@dbgroups.com> wrote:

> I try to configure openldap 2.1.3 with Berkeley DB 4.0.14 and get
> BerkeleyDB version incompatible. Helps are apprciated:
> 
> 1) Berkeley DB configuration: (works with OpenLDAP 2.0.23 and 2.0.25)
>     cd db-4.0.14/build_unix
>     export JAVA_HOME and PATH (using jdk1.4)
> 
>    ../dist/configure --prefix=/data/db-4.0.14 --enable-dynamic
>    --enable-java
...
>     error: BerkeleyDB version incompatible
>     I search for header places and found they are in srcdir /include and
> /usr/include/db1 and /usr/include/db2. Do I need to specify CPPFLAGS and
> LDFLAGS. Experts of OpenLdap installers please help.

If you compiled BerckeleyDB with --prefix=/data/db-4.0.14, then the
include files and libs are in a subdir of /data/db-4.0.14, not in
/usr/include/db1 or /usr/include/db2. You need to specify the path to your
correct BerckeleyDB files, see
http://www.openldap.org/faq/data/cache/40.html

Franky