Hello,
I tried to compile the Release 2.4.23 of openldap on my centos 5.5 server.
It fails with:
checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for Berkeley DB major version in db.h... 4 checking for Berkeley DB minor version in db.h... 3 checking if Berkeley DB version supported by BDB/HDB backends... no configure: error: BerkeleyDB version incompatible with BDB/HDB backends
I do have db4 installed:
db4-4.3.29-10.el5_5.2 db4-devel-4.3.29-10.el5_5.2 db4-utils-4.3.29-10.el5_5.2
What may I do wrong? Any sugesstions?
Thanks and regards . Götz
Hello
I've tried the same activity on our Centos 55 OpenLDAP server boxes.
I'm not sure why and if I've done the right choice, but I've installed db-4.8.30. With this release and OpenLDAP 2.4.23 now I have a multimaster installation up and running. Sincerely, I had problems also trying to use db-5.0.something.
Hope this help you. Regards,
Roberto
-----Messaggio originale----- Da: openldap-technical-bounces@OpenLDAP.org [mailto:openldap-technical-bounces@OpenLDAP.org] Per conto di Götz Reinicke - IT-Koordinator Inviato: martedì 23 novembre 2010 14.04 A: openldap-technical@openldap.org Oggetto: how to compile recent openldap on Centos 5.5
Hello,
I tried to compile the Release 2.4.23 of openldap on my centos 5.5 server.
It fails with:
checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for Berkeley DB major version in db.h... 4 checking for Berkeley DB minor version in db.h... 3 checking if Berkeley DB version supported by BDB/HDB backends... no configure: error: BerkeleyDB version incompatible with BDB/HDB backends
I do have db4 installed:
db4-4.3.29-10.el5_5.2 db4-devel-4.3.29-10.el5_5.2 db4-utils-4.3.29-10.el5_5.2
What may I do wrong? Any sugesstions?
Thanks and regards . Götz
He,
thanks for your answere, but where did you get your DB Version from and how do you compile it (special opions? ...)
cheers . Götz
Am 23.11.10 14:27, schrieb NUNIN Roberto:
Hello
I've tried the same activity on our Centos 55 OpenLDAP server boxes.
I'm not sure why and if I've done the right choice, but I've installed db-4.8.30. With this release and OpenLDAP 2.4.23 now I have a multimaster installation up and running. Sincerely, I had problems also trying to use db-5.0.something.
Hope this help you. Regards,
Roberto
-----Messaggio originale----- Da: openldap-technical-bounces@OpenLDAP.org [mailto:openldap-technical-bounces@OpenLDAP.org] Per conto di Götz Reinicke - IT-Koordinator Inviato: martedì 23 novembre 2010 14.04 A: openldap-technical@openldap.org Oggetto: how to compile recent openldap on Centos 5.5
Hello,
I tried to compile the Release 2.4.23 of openldap on my centos 5.5 server.
It fails with:
checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for Berkeley DB major version in db.h... 4 checking for Berkeley DB minor version in db.h... 3 checking if Berkeley DB version supported by BDB/HDB backends... no configure: error: BerkeleyDB version incompatible with BDB/HDB backends
I do have db4 installed:
db4-4.3.29-10.el5_5.2 db4-devel-4.3.29-10.el5_5.2 db4-utils-4.3.29-10.el5_5.2
What may I do wrong? Any sugesstions?
Thanks and regards . Götz
Hi,
I had to type these commands:
# wget http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz # tar -xvzf db-4.8.30.tar.gz # cd db-4.8.30/build_unix/ # ../dist/configure -prefix=/usr/local # make # make install
# wget ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-stable/openldap-stable-20100719.tgz # tar -xvzf openldap-stable-20100719.tgz # cd openldap-* # ./configure # make depend # make # make install
As you can see, no special options. Regards,
Roberto
-----Messaggio originale----- Da: openldap-technical-bounces@OpenLDAP.org [mailto:openldap-technical-bounces@OpenLDAP.org] Per conto di Götz Reinicke - IT-Koordinator Inviato: martedì 23 novembre 2010 14.32 A: openldap-technical@openldap.org Oggetto: Re: R: how to compile recent openldap on Centos 5.5
He,
thanks for your answere, but where did you get your DB Version from and how do you compile it (special opions? ...)
cheers . Götz
Am 23.11.10 14:27, schrieb NUNIN Roberto:
Hello
I've tried the same activity on our Centos 55 OpenLDAP server boxes.
I'm not sure why and if I've done the right choice, but I've installed db-4.8.30. With this release and OpenLDAP 2.4.23 now I have a multimaster installation up and running. Sincerely, I had problems also trying to use db-5.0.something.
Hope this help you. Regards,
Roberto
-----Messaggio originale----- Da: openldap-technical-bounces@OpenLDAP.org [mailto:openldap-technical-bounces@OpenLDAP.org] Per conto di Götz Reinicke - IT-Koordinator Inviato: martedì 23 novembre 2010 14.04 A: openldap-technical@openldap.org Oggetto: how to compile recent openldap on Centos 5.5
Hello,
I tried to compile the Release 2.4.23 of openldap on my centos 5.5 server.
It fails with:
checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for Berkeley DB major version in db.h... 4 checking for Berkeley DB minor version in db.h... 3 checking if Berkeley DB version supported by BDB/HDB backends... no configure: error: BerkeleyDB version incompatible with BDB/HDB backends
I do have db4 installed:
db4-4.3.29-10.el5_5.2 db4-devel-4.3.29-10.el5_5.2 db4-utils-4.3.29-10.el5_5.2
What may I do wrong? Any sugesstions?
Thanks and regards . Götz
Hey Roberto,
thanks a lot. I'll try that way too :-)
cheers . Götz
Am 23.11.10 14:59, schrieb NUNIN Roberto:
Hi,
I had to type these commands:
# wget http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz # tar -xvzf db-4.8.30.tar.gz # cd db-4.8.30/build_unix/ # ../dist/configure -prefix=/usr/local # make # make install
# wget ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-stable/openldap-stable-20100719.tgz # tar -xvzf openldap-stable-20100719.tgz # cd openldap-* # ./configure # make depend # make # make install
As you can see, no special options. Regards,
Roberto
-----Messaggio originale----- Da: openldap-technical-bounces@OpenLDAP.org [mailto:openldap-technical-bounces@OpenLDAP.org] Per conto di Götz Reinicke - IT-Koordinator Inviato: martedì 23 novembre 2010 14.32 A: openldap-technical@openldap.org Oggetto: Re: R: how to compile recent openldap on Centos 5.5
He,
thanks for your answere, but where did you get your DB Version from and how do you compile it (special opions? ...)
cheers . Götz
Am 23.11.10 14:27, schrieb NUNIN Roberto:
Hello
I've tried the same activity on our Centos 55 OpenLDAP server boxes.
I'm not sure why and if I've done the right choice, but I've installed db-4.8.30. With this release and OpenLDAP 2.4.23 now I have a multimaster installation up and running. Sincerely, I had problems also trying to use db-5.0.something.
Hope this help you. Regards,
Roberto
-----Messaggio originale----- Da: openldap-technical-bounces@OpenLDAP.org [mailto:openldap-technical-bounces@OpenLDAP.org] Per conto di Götz Reinicke - IT-Koordinator Inviato: martedì 23 novembre 2010 14.04 A: openldap-technical@openldap.org Oggetto: how to compile recent openldap on Centos 5.5
Hello,
I tried to compile the Release 2.4.23 of openldap on my centos 5.5 server.
It fails with:
checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for Berkeley DB major version in db.h... 4 checking for Berkeley DB minor version in db.h... 3 checking if Berkeley DB version supported by BDB/HDB backends... no configure: error: BerkeleyDB version incompatible with BDB/HDB backends
I do have db4 installed:
db4-4.3.29-10.el5_5.2 db4-devel-4.3.29-10.el5_5.2 db4-utils-4.3.29-10.el5_5.2
What may I do wrong? Any sugesstions?
Thanks and regards . Götz
On Tue, 23 Nov 2010, Götz Reinicke - IT-Koordinator wrote:
I tried to compile the Release 2.4.23 of openldap on my centos 5.5 server.
[...]
configure: error: BerkeleyDB version incompatible with BDB/HDB backends
[...]
db4-4.3.29-10.el5_5.2
[...]
What may I do wrong? Any sugesstions?
RHEL/CentOS db4-4.3 has proven unreliable for use with OpenLDAP Software. You will have to use a version of BerkeleyDB that is not provided by those vendors. One option is of course to roll your own packages. However, many RHEL/CentOS users on the list base off of Buchan Milne's RPMs. There is some (occasionally hard-learned) institutional knowledge in his build process that you would likely benefit from. You can find references/links to these in the openldap-technical/openldap-software list archives.
2010/11/23 Aaron Richton richton@nbcs.rutgers.edu:
On Tue, 23 Nov 2010, Götz Reinicke - IT-Koordinator wrote:
I tried to compile the Release 2.4.23 of openldap on my centos 5.5 server.
[...]
configure: error: BerkeleyDB version incompatible with BDB/HDB backends
[...]
db4-4.3.29-10.el5_5.2
[...]
What may I do wrong? Any sugesstions?
RHEL/CentOS db4-4.3 has proven unreliable for use with OpenLDAP Software. You will have to use a version of BerkeleyDB that is not provided by those vendors. One option is of course to roll your own packages. However, many RHEL/CentOS users on the list base off of Buchan Milne's RPMs. There is some (occasionally hard-learned) institutional knowledge in his build process that you would likely benefit from. You can find references/links to these in the openldap-technical/openldap-software list archives.
If this can help, LTB-project also provides RPMs for CentOS 5: http://ltb-project.org/wiki/documentation/openldap-rpm
Clément.
Am 23.11.10 15:18, schrieb Clément OUDOT:
2010/11/23 Aaron Richton richton@nbcs.rutgers.edu:
On Tue, 23 Nov 2010, Götz Reinicke - IT-Koordinator wrote:
I tried to compile the Release 2.4.23 of openldap on my centos 5.5 server.
[...]
configure: error: BerkeleyDB version incompatible with BDB/HDB backends
[...]
db4-4.3.29-10.el5_5.2
[...]
What may I do wrong? Any sugesstions?
RHEL/CentOS db4-4.3 has proven unreliable for use with OpenLDAP Software. You will have to use a version of BerkeleyDB that is not provided by those vendors. One option is of course to roll your own packages. However, many RHEL/CentOS users on the list base off of Buchan Milne's RPMs. There is some (occasionally hard-learned) institutional knowledge in his build process that you would likely benefit from. You can find references/links to these in the openldap-technical/openldap-software list archives.
If this can help, LTB-project also provides RPMs for CentOS 5: http://ltb-project.org/wiki/documentation/openldap-rpm
Hey and Thanks for the suggestion.
Do you or anybody has any experience with that packages?
I downloaded the srpm to rebuild it on my centos 5.5 system, but It fails with the same DB4 missing error.
I installed the provided berkeleydb-ltb-4.6.21.NC-4.patch4.rpm to.
For no I did not try to install and run the provided ldap-rpm.
regards . Götz
I have build some openldap rpm packages on http://yum.zymlinux.net/repo/ that rpms are all created from mock build system, it is proved to be able to build on centos 4.x 5.x, you can even use the yum repo, I have put the config file on site too.
that rpm will overwrite the openldap from CentOS/Redhat base system. please be aware.
srpm pakges in http://yum.zymlinux.net/repo/SRPMS/
please take v2.4.23 only.
FYI
在 2010-11-29一的 09:31 +0100,Götz Reinicke - IT-Koordinator写道:
Am 23.11.10 15:18, schrieb Clément OUDOT:
2010/11/23 Aaron Richton richton@nbcs.rutgers.edu:
On Tue, 23 Nov 2010, Götz Reinicke - IT-Koordinator wrote:
I tried to compile the Release 2.4.23 of openldap on my centos 5.5 server.
[...]
configure: error: BerkeleyDB version incompatible with BDB/HDB backends
[...]
db4-4.3.29-10.el5_5.2
[...]
What may I do wrong? Any sugesstions?
RHEL/CentOS db4-4.3 has proven unreliable for use with OpenLDAP Software. You will have to use a version of BerkeleyDB that is not provided by those vendors. One option is of course to roll your own packages. However, many RHEL/CentOS users on the list base off of Buchan Milne's RPMs. There is some (occasionally hard-learned) institutional knowledge in his build process that you would likely benefit from. You can find references/links to these in the openldap-technical/openldap-software list archives.
If this can help, LTB-project also provides RPMs for CentOS 5: http://ltb-project.org/wiki/documentation/openldap-rpm
Hey and Thanks for the suggestion.
Do you or anybody has any experience with that packages?
I downloaded the srpm to rebuild it on my centos 5.5 system, but It fails with the same DB4 missing error.
I installed the provided berkeleydb-ltb-4.6.21.NC-4.patch4.rpm to.
For no I did not try to install and run the provided ldap-rpm.
regards . Götz
Am 23.11.10 15:05, schrieb Aaron Richton:
On Tue, 23 Nov 2010, Götz Reinicke - IT-Koordinator wrote:
I tried to compile the Release 2.4.23 of openldap on my centos 5.5 server.
[...]
configure: error: BerkeleyDB version incompatible with BDB/HDB backends
[...]
db4-4.3.29-10.el5_5.2
[...]
What may I do wrong? Any sugesstions?
RHEL/CentOS db4-4.3 has proven unreliable for use with OpenLDAP Software. You will have to use a version of BerkeleyDB that is not provided by those vendors. One option is of course to roll your own packages. However, many RHEL/CentOS users on the list base off of Buchan Milne's RPMs. There is some (occasionally hard-learned) institutional knowledge in his build process that you would likely benefit from. You can find references/links to these in the openldap-technical/openldap-software list archives.
Thanks for your comment. It looks indeed somehow difficult to get an current version installed. I'll continue trying to find a solution.
Thanks and regards . Götz
At Mon, 29 Nov 2010 09:33:55 +0100 [** ISO-8859-15 charset **] Götz Reinicke - IT-Koordinator goetz.reinicke@filmakademie.de wrote:
Am 23.11.10 15:05, schrieb Aaron Richton:
On Tue, 23 Nov 2010, Götz Reinicke - IT-Koordinator wrote:
I tried to compile the Release 2.4.23 of openldap on my centos 5.5 server.
[...]
configure: error: BerkeleyDB version incompatible with BDB/HDB backends
[...]
db4-4.3.29-10.el5_5.2
[...]
What may I do wrong? Any sugesstions?
RHEL/CentOS db4-4.3 has proven unreliable for use with OpenLDAP Software. You will have to use a version of BerkeleyDB that is not provided by those vendors. One option is of course to roll your own packages. However, many RHEL/CentOS users on the list base off of Buchan Milne's RPMs. There is some (occasionally hard-learned) institutional knowledge in his build process that you would likely benefit from. You can find references/links to these in the openldap-technical/openldap-software list archives.
Thanks for your comment. It looks indeed somehow difficult to get an current version installed. I'll continue trying to find a solution.
Thanks and regards . Götz
There are 'recent' openldap and BerkeleyDB rpms for RHEL 5 on the Ldap Toolbox project web site:
http://tools.ltb-project.org/projects/ltb/files?sort=created_on%3Adesc%2Cfil...
FWIW: I'll be moving to these packages in the bear future. I especially like the src.rpm file - after installing it, I was able to modify the configure directives to build overlays as modules vs compiled in (fixes some Solaris - as a client - difficulties) before using rpmbuild. It'll tell you what devel packages you need.
Servers are currently using compiled from source - which was neither fun nor easy do to 64 bit lib difficulties when I was doing this. And when I was doing this, IIRC, there weren't any 64bit packages available from ltb.
Minor caveat: It didn't like me setting sysconfdir to /etc rather than /usr/local/openldap/etc, but hey - if it bugs me /that/ much I can just as easily symlink the dir.
The berkeley db package works well. Not having to recompile that makes life easier too.
- chris
Chris Jacobs, Systems Administrator Apollo Group | Apollo Marketing | Aptimus 2001 6th Ave Ste 3200 | Seattle, WA 98121 phone: 206.839-8245 | cell: 206.601.3256 | Fax: 208.441.9661 email: chris.jacobs@apollogrp.edu
----- Original Message ----- From: openldap-technical-bounces@OpenLDAP.org openldap-technical-bounces@OpenLDAP.org To: [** ISO-8859-15 charset **] Götz Reinicke - IT-Koordinator goetz.reinicke@filmakademie.de Cc: Robert Heller heller@deepsoft.com; openldap-technical@openldap.org openldap-technical@openldap.org Sent: Mon Nov 29 05:40:01 2010 Subject: Re: how to compile recent openldap on Centos 5.5
At Mon, 29 Nov 2010 09:33:55 +0100 [** ISO-8859-15 charset **] Götz Reinicke - IT-Koordinator goetz.reinicke@filmakademie.de wrote:
Am 23.11.10 15:05, schrieb Aaron Richton:
On Tue, 23 Nov 2010, Götz Reinicke - IT-Koordinator wrote:
I tried to compile the Release 2.4.23 of openldap on my centos 5.5 server.
[...]
configure: error: BerkeleyDB version incompatible with BDB/HDB backends
[...]
db4-4.3.29-10.el5_5.2
[...]
What may I do wrong? Any sugesstions?
RHEL/CentOS db4-4.3 has proven unreliable for use with OpenLDAP Software. You will have to use a version of BerkeleyDB that is not provided by those vendors. One option is of course to roll your own packages. However, many RHEL/CentOS users on the list base off of Buchan Milne's RPMs. There is some (occasionally hard-learned) institutional knowledge in his build process that you would likely benefit from. You can find references/links to these in the openldap-technical/openldap-software list archives.
Thanks for your comment. It looks indeed somehow difficult to get an current version installed. I'll continue trying to find a solution.
Thanks and regards . Götz
There are 'recent' openldap and BerkeleyDB rpms for RHEL 5 on the Ldap Toolbox project web site:
http://tools.ltb-project.org/projects/ltb/files?sort=created_on%3Adesc%2Cfil...
-- Robert Heller -- 978-544-6933 / heller@deepsoft.com Deepwoods Software -- http://www.deepsoft.com/ () ascii ribbon campaign -- against html e-mail /\ www.asciiribbon.org -- against proprietary attachments
This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.
Götz Reinicke - IT-Koordinator goetz.reinicke@filmakademie.de writes:
Hello,
I tried to compile the Release 2.4.23 of openldap on my centos 5.5 server.
It fails with:
checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for Berkeley DB major version in db.h... 4 checking for Berkeley DB minor version in db.h... 3 checking if Berkeley DB version supported by BDB/HDB backends... no configure: error: BerkeleyDB version incompatible with BDB/HDB backends
I do have db4 installed:
db4-4.3.29-10.el5_5.2 db4-devel-4.3.29-10.el5_5.2 db4-utils-4.3.29-10.el5_5.2
db4-4.3 is not supported, the README clearly says:
SLAPD: BDB and HDB backends require Oracle Berkeley DB 4.4, 4.5, 4.6, 4.7, or 4.8. It is highly recommended to apply the patches from Oracle for a given release.
-Dieter
openldap-technical@openldap.org