Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

According to the OpenLDAP documentation, I'm supposed to patch Berkeley DB.

I've got Berkeley DB installed already, and I've found the patch files, but what do I do with them? They don't appear to be executable.

share|improve this question

you need to use patch command to apply patches to a source distribution and then recompile DB from sources

in a linux box you will need to do something like:

tar zxvf db-4.7.25.tar.gz

cd db-4.7.25

patch -p0 < patch.db-

patch -p0 < patch.db-

patch -p0 < patch.db-

patch -p1 < patch.db-

cd build_unix



make install

Note that you should pass relevant options to configure, i not sure what are requisites for OpenLDAP , but you are better asking in their forums

Regards, José Gutíerrez de la Concha

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.