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

Re: OPENLDAP BUILD/CONFIGURE



Am Wed, 11 Dec 2013 14:22:55 -0500
schrieb "Borresen, John - 0442 - MITLL" <John.Borresen@ll.mit.edu>:

> Playing around after discussing with one of our programmers, we
> discovered that someone had installed numerous Berkeley DB flavors
> both from source and rpm (installed in /usr/lib64 and /lib64)??!!
> 
> Modifying my LD_LIBRARY_PATH to look in the /usr/local/berkeleydb/lib
> folder first, I got further...now, it is bombing out with the
> following:
> 
> checking if Berkeley DB version supported by BDB/HDB backends... yes
> checking for Berkeley DB link (-ldb-4.6)... no
> checking for Berkeley DB link (-ldb46)... no
> checking for Berkeley DB link (-ldb-46)... no
> checking for Berkeley DB link (-ldb-4-6)... no
> checking for Berkeley DB link (-ldb-4)... no
> checking for Berkeley DB link (-ldb4)... no
> checking for Berkeley DB link (-ldb)... no
> ...
> 
> I had the following set up:
> LIBS="-ldb -ldb-4.6 -ldb46 -ldb-4 -ldb-4-6 -lgcc_s"
> export LIBS
> 
> But, this was causing the gcc to not be found.
> 
> Any suggestions?

[...]

Find the correct db.h file. In order to compile with different berkdb
versions, i created a /usr/include/db/ directory and a symlink
to /usr/include/db.h

-Dieter

-- 
Dieter KlÃnter | Systemberatung
http://dkluenter.de
GPG Key ID:DA147B05
53Â37'09,95"N
10Â08'02,42"E