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

Suggestion for OpenLDAP 2.2 Admin Guide (ITS#3319)



Full_Name: Joe Moyle
Version: 2.2.15
OS: Red Hat Linux 9
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (65.65.189.15)


I encountered an error that we have worked out on the mailing list and I think
we could save a lot of headaches with a couple of lines in the admin guide. 
When installing the software I reached the part where I run ./configure.  I wind
up with an error like the following, "configure: error: Berkeley DB version
mismatch."  We (mailing list activist) found this started occurring after build
2.2.13 came out.  It is happening frequently to many people.  It is remedied by
issuing the following command prior to running ./configure.  export
CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include"
LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib"
LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.2/lib"  I had tried it with just the
CPPFLAGS and LDFLAGS in prior attempts to ./configure but once I added
LD_LIBRARY_PATH all went well.

Despite the fact that my oppinion doesn't matter I'm going to offer it.  I think
we should add a few lines to the admin guide indicating this apparently easy fix
to this  apparently recent common problem.  I think it should go in section
4.3.

Please forgive me if I've been unclear or wasted your time.  I will gladly help
test the software and improve the documentation.  I'm beginner level in linux
and a OpenLDAP newbie too so my perspective may not be very helpful.  If you
would like me to attempt to add a few specific words to section 4.3 I would be
willing to try to modify the end of that section.  Maybe this belongs in a faq
and not the admin guide?    Thanks for your time.