Just to add that the last step in the link provided, running with the explicit option to not look for version 4.3
env ol_cv_db_db_4_dot_3=no ./configure --prefix=/opt/ldap
Still does not work and I get the following output: checking for Berkeley DB major version... 4 checking for Berkeley DB minor version... 3 checking for Berkeley DB link (-ldb43)... no checking for Berkeley DB link (-ldb-43)... no checking for Berkeley DB link (-ldb-4.3)... (cached) no checking for Berkeley DB link (-ldb-4-3)... 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 version match... Berkeley DB version mismatch header: Sleepycat Software: Berkeley DB 4.3.29: (September 12, 2006) library: Berkeley DB 4.5.20: (September 20, 2006) no configure: error: Berkeley DB version mismatch
Without that option it does not fail at configure (although it detects the 4.3 version) but will fail when doing "make". It is strange however that he does seem to know that version 4.5 is on the system, just refusing to use it.
-----Original Message----- From: Quanah Gibson-Mount [mailto:quanah@zimbra.com] Sent: sexta-feira, 20 de Junho de 2008 16:54 To: Nuno Manuel Martins; Dieter Kluenter; openldap-software@openldap.org Subject: RE: Installation problem with Berkeley DB
http://www.openldap.org/faq/data/cache/43.html
--On Friday, June 20, 2008 4:47 PM +0100 Nuno Manuel Martins nuno.mmartins_externo@sonae.com wrote:
Correct. That is why, as I mentioned in the first mail, I installed Berkeley DB 4.5. I did not uninstall version 4.3 since I don't know what else in the system is using it and I don't want to break anything.
The problem is that even though I installed version 4.5 OpenLDAP configure script still wants to use version 4.3 even after I tell him to look for libraries in the Berkeley 4.5 folder (with --includedir=/folder/) ... what I really need to know is how I can force him to ignore /usr/lib for Berkeley and use /usr/local/bdb4.5 instead.
-----Original Message----- From: Quanah Gibson-Mount [mailto:quanah@zimbra.com] Sent: sexta-feira, 20 de Junho de 2008 16:42 To: Nuno Manuel Martins; Dieter Kluenter; openldap-software@openldap.org Subject: RE: Installation problem with Berkeley DB
--On Friday, June 20, 2008 4:31 PM +0100 Nuno Manuel Martins nuno.mmartins_externo@sonae.com wrote:
It does mention that the configure script will set environment setting and "if" it all goes well this should be enough. Doesn't mention much in case things go wrong except to take a look at config.log which tells me it can't compile with Berkely 4.3 due to some problem with linking which I have no clue about since I am no developer and have little understanding of programming in general and C in particular.
That much I had understood from Google, what I was looking for though was a workaround for the problem.
The workaround is, don't use BDB 4.3. It's not supported with OpenLDAP because BDB 4.3 showed itself to be unreliable.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc
Zimbra :: the leader in open source messaging and collaboration
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration