Results 1 to 3 of 3
I was working on this for a while, and as I wasn't able to get things going, moved on to other things. Now that the other things are not taking ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-19-2003 #1
Help with OpenLDAP...
I was working on this for a while, and as I wasn't able to get things going, moved on to other things. Now that the other things are not taking so much of my time...
When installing the prerequisites to OpenLDAP (SASL, SSL, Kerberos, BDB) I run into no issues. Once I go to run the .config, and it looks for Berkeley DB support, it says that it cannot find the BDB libraries. Has anyone else that has encountered this? After a bit I can post the output of config, although right now I am chained to the window$ machine.
- 08-19-2003 #2Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
run ./configujre --help and get the flag to where you can point it towards the lib directory. It will probably look something like this:
./configure --berkley-db /usr/lib/bdb <- only an example
- 10-14-2003 #3Just Joined!
- Join Date
- Sep 2003
- Posts
- 6
Re: Help with OpenLDAP...
I had this same problem... here is what I did to fix it...
Originally Posted by adamdaughterson
as Root...
Note the name of the BerkeleyDB install directory name from:
/usr/local
In my case it was:
/usr/local/BerkeleyDB.4.1
Now in another terminal window change directory to the location where you put the OpenLDAP source files - I put mine here:
/usr/local/src/openldap-2.1.23
Now run the following from this location:
env CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include" \ LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib" ./configure
What this does is tell the configuration program where the database application can be found. From here you should then be able to perform the "make depends".
Good luck...


Reply With Quote
