(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Installation : (Category) Why did 'cd tests; make test' fail? : (Answer) Using Berkeley DB
Hi, to those who using BerkeleyDB with OpenLDAP, I had problem with "make test" and the test didn't pass the test001-slapadd. The problem can be incorrect Berkeley installing, someone tell me OpenLDAP does not support BDB 4.6, then you may want to come back using BDB4.5 with OpenLDAP. If you have install BDB4.5 with default path, do as follow to pass the "make test"(worked for me):
- Copy all subdirectories in /usr/local/Berkeley.4.5/ to corresponsive subdirectories in /usr/local/ (Ex: cp /usr/local/Berkeley.4.5/include/* /usr/local/include/) - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib ( for those using BASH and you could also write it in /etc/profile for later runtime) - ./configure [options]
I have little experience in using library tool, and maybe there are other ways which better, hope you who know, tell it to us. Hope this help :)
Thank guys in mailing list helped me solving this. -- Le Trung Kien
aloneattack@gmail.com
[Append to This Answer]
Previous: (Answer) Do you have enough disk space?
Next: (Answer) New Item
This document is: http://www.openldap.org/faq/index.cgi?file=1431
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org