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

Building 2.2.15 Berkeley issue



I think I'm making a really dumb mistake here.. But bear with me.

I have installed BerkeleyDB into my /usr/local folder.  My current version of openldap is 2.2.11, and it is working fine with this Berkeley (has been for quite some time)

Now, I'm trying to build 2.2.15.

I set these variables:

==> ~/openldap-2.2.15>export LDFLAGS="-L/usr/local/Berkeley-4.2/lib -R/usr/local/Berkeley-4.2/lib"
==> ~/openldap-2.2.15>export CPPFLAGS="-I/usr/local/Berkeley-4.2/include"

(this is the correct path to Berkeley)

Then I do a ./configure --prefix=/usr/local/openldap-2.2.15

It fails with:

checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb42)... no
checking for Berkeley DB link (-ldb-42)... no
checking for Berkeley DB link (-ldb-4.2)... yes
checking for Berkeley DB version match... no
configure: error: Berkeley DB version mismatch

Nothing has changed with the system configuration since I built and installed 2.2.11 - so I'm at a loss.

Thanks for any help..

Dan