OpenLDAP complains of Berkeley DB version mismatch
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OpenLDAP complains of Berkeley DB version mismatch
I'm trying to install OpenLDAP on a Slackware 10.1 system. I've downloaded the latest release from www.openldap.org, which is 2.2.24. When I run ./configure, it complains of a Berkeley DB version mismatch:
Code:
checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb43)... no
checking for Berkeley DB link (-ldb-43)... no
checking for Berkeley DB link (-ldb-4.3)... no
checking for Berkeley DB link (-ldb-4-3)... 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... Berkeley DB version mismatch
header: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
library: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
no
configure: error: Berkeley DB version mismatch
I've tried getting the latest version of Berkeley DB, 4.3.27, and it compiled and installed fine but OpenLDAP's ./configure then can't find it at all:
Code:
checking for db.h... no
configure: error: BDB/HDB: BerkeleyDB not available
It sounds like the db.h the configure script locates is a header file for DB version 3.3.11 but the library it locates is version 4.2.52. I believe on that system /usr/include/db.h is a symlink to /usr/include/db3/db.h. If you do "ln -sf /usr/include/db4/db.h /usr/include/db.h" that should fix it. (or point to wherever the 4.2.52 header resides)
I installed OpenLDAP 2.4.13 in Red Hat 9. I make All the steps for the compilation and installing. All the process was fine, but I run the command make test, after to run make (to OpenLDAP), the test begin, but it is stop and cannot finish. There is not any error message...I make ctrl+c to force the finish. I run make install and the installation was good. But I cannot find the file ldap to begin the ldap service.
I installed OpenLDAP 2.4.13 in Red Hat 9. I make All the steps for the compilation and installing. All the process was fine, but I run the command make test, after to run make (to OpenLDAP), the test begin, but it is stop and cannot finish. There is not any error message...I make ctrl+c to force the finish. I run make install and the installation was good. But I cannot find the file ldap to begin the ldap service.
What can I do?
Hi lite123 and welcome to the forums!
Since you are new, I'll throw you a few pointers.
First, your question is on Red Hat. This is the slackware forum. I suggest you post in the redhat forum on this board:
Second, you resurrected a thread that's five years old. You will get much better luck just creating a new thread in the redhat forum, and just post what you posted above. Somebody will most likely help you there.
It's been a few years since I installed openldap, so I'm not the best one to answer your question.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.