本文介绍了从源代码构建OpenLDAP并丢失BerkelyDB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我正在RHEL 5上构建OpenLDAP;我使用了在 http://www.linux.com/archive/feature/113607 中找到的说明a>.

I'm building OpenLDAP on a RHEL 5; I used instructions found at http://www.linux.com/archive/feature/113607.

一切顺利,直到为OpenLDAP运行'./configure'-记录了以下错误:

All went well, until running './configure' for OpenLDAP - the following error was recorded:

*<earlier output snipped>*
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**

我像疯子一样用Google搜索,但是没有找到解决方法-有关探索区域的任何提示?

I have Googled like a maniac but have been unsuccessful to find a resolution - any tips on areas to explore?

谢谢

推荐答案

执行yum install db4-devel

(或只需安装预先打包的openldap,yum install openldap-servers openldap-clients

(or just install the prepackaged openldap, yum install openldap-servers openldap-clients

这篇关于从源代码构建OpenLDAP并丢失BerkelyDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 23:47