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

Berkeley DB error.




>
> Hi,
>
> I just downloaded the OpenLDAP 2.1.17 and tried to install it on my RH 9.0
> system. But before doing so, I also downloaded the Berkeley DB 4.1.25
> available from sleepycat.com and installed it.
> I also set the environmental variable LD_LIBRARY_PATH to include
> /usr/local/BerkeleyDB.4.1/lib.
>
> Now for OpenLDAP-2.1.17, when i run ./configure (with any optuions) i get
>
> checking for db.h... yes
> checking for Berkeley DB link (default)... no
> checking for Berkeley DB link (-ldb41)... no
> checking for Berkeley DB link (-ldb-41)... no
> checking for Berkeley DB link (-ldb-4.1)... no
> checking for Berkeley DB link (-ldb-4-1)... no
> checking for Berkeley DB link (-ldb-4)... no
> checking for Berkeley DB link (-ldb4)... no
> checking for Berkeley DB link (-ldb)... yes
> checking for Berkeley DB thread support... yes
> checking Berkeley DB version for BDB backend... no
> configure: error: BDB: BerkeleyDB version incompatible
>
> I checked /usr/local/BerkeleyDB.4.1/lib and it contains all the
> libraries..Here is the listing.
>
> drwxr-xr-x    2 root     root         4096 Apr 30 11:53 .
> drwxr-xr-x    6 root     root         4096 Apr 30 11:53 ..
> -rw-r--r--    1 shashank shashank   884292 Apr 30 11:53 libdb-4.1.a
> -rw-r--r--    1 shashank shashank      724 Apr 30 11:52 libdb-4.1.la
> -rwxr-xr-x    1 shashank shashank   714977 Apr 30 11:52 libdb-4.1.so
> lrwxrwxrwx    1 root     root           12 Apr 30 11:53 libdb-4.so ->
> libdb-4.1.so
> lrwxrwxrwx    1 root     root           11 Apr 30 11:53 libdb.a ->
> libdb-4.1.a
> lrwxrwxrwx    1 root     root           12 Apr 30 11:53 libdb.so ->
> libdb-4.1.so
> -rw-r--r--    1 shashank shashank   974206 Apr 30 11:53 libdb_cxx-4.1.a
> -rw-r--r--    1 shashank shashank      752 Apr 30 11:52 libdb_cxx-4.1.la
> -rwxr-xr-x    1 shashank shashank   798343 Apr 30 11:52 libdb_cxx-4.1.so
> lrwxrwxrwx    1 root     root           16 Apr 30 11:53 libdb_cxx-4.so ->
> libdb_cxx-4.1.so
> lrwxrwxrwx    1 root     root           15 Apr 30 11:53 libdb_cxx.a ->
> libdb_cxx-4.1.a
> lrwxrwxrwx    1 root     root           16 Apr 30 11:53 libdb_cxx.so ->
> libdb_cxx-4.1.so
>
>
> I am also attaching config.log with this email.
(I cannot attach the config.log as the mailing list server rejects it)

>
> Regards
> Shashank
>