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 Code:
checking for db.h... no |
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)
|
And so it does! Thank you. :D
|
Hello,
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? |
Quote:
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: http://www.linuxquestions.org/questions/red-hat-31/ 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. Again, welcome to the forums! |
Thank you for answer...I am new here...
Best Regards.. |
Just export variable LD_LIBRARY_PATH to directory lib in sourcode
example : i extract source code to /root/ldap/db-4.7.25 so i export variable as LD_LIBRARY_PATH=/root/ldap/db-4.7.25/build_unix/.libs export LD_LIBRARY_PATH |
Just export variable LD_LIBRARY_PATH to directory lib in sourcode
example : i extract source code to /root/ldap/db-4.7.25 so i export variable as LD_LIBRARY_PATH=/root/ldap/db-4.7.25/build_unix/.libs export LD_LIBRARY_PATH see detail at http://blogitknowledge.wordpress.com |
All times are GMT -5. The time now is 04:20 AM. |