参考:http://better.blog.51cto.com/1886029/1285710
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
ldap安装的时候报这个错,是因为barkerydb6.0.20版本不兼容,先进/db-6.0.20/built-unix 里面make uninstall ,再按原来的步骤安装4.8.30就可以了