title: Building OpenLDAP from sources and missing BerkelyDB
body: <p>I'm building OpenLDAP on a RHEL 5; I used instructions found at <a href="http://www.linux.com/archive/feature/113607" rel="noreferrer">http://www.linux.com/archive/feature/113607</a>.</p>
  
  <p>All went well, until running './configure' for OpenLDAP - the following error was recorded:</p>
  
  <pre><code>*&lt;earlier output snipped&gt;*
  checking for gethostbyaddr_r... yes
  checking number of arguments of ctime_r... 2
  checking number of arguments of gethostbyname_r... 6
  checking number of arguments of gethostbyaddr_r... 8
  checking db.h usability... yes
  checking db.h presence... yes
  checking for db.h... yes
  checking for Berkeley DB major version in db.h... 5
  checking for Berkeley DB minor version in db.h... 1
  checking if Berkeley DB version supported by BDB/HDB backends... yes
  **checking for Berkeley DB link (default)... no
  configure: error: BDB/HDB: BerkeleyDB not available**
  </code></pre>
  
  <p>I have Googled like a maniac but have been unsuccessful to find a resolution - any tips on areas to explore?</p>
  
  <p>Thanks</p>