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

Re: Need help building OpenLDAP...



You need to add the BerkeleyDB location to your include path and library
path.

Something like:
env CPPFLAGS="-I/usr/local/BerkeleyDB-4/include" LDFLAGS="-L/usr/local/BerkeleyDB-4/lib" ./configure --prefix=...

You'll need to adjust the paths, but you get the idea.
Ian

On Tue, Dec 17, 2002 at 01:33:54PM -0500, Stone, Timothy wrote:
> % sudo ./configure --prefix=/usr/local/openldap
> 
> Things go peachy for a while then poop:
> 
> ...
> checking for Berkeley DB link (default)... no
> checking for Berkeley DB link (-ldb4)... no
> checking for Berkeley DB link (-ldb-4)... yes
> checking for Berkeley thread support... no
> checking Berkeley DB version for BDB backend... no
> configure: error: BDB: BerkeleyDB version incompatible
> 
> Any pointers from the list veterans?
-- 
Ian Logan
Information and Communication Technologies
New Mexico State University
Email: ian@nmsu.edu Phone: 505-646-6034 Fax: 505-646-4560