Why isn't Berkeley DB being included in slapd?

Marc G. Fournier scrappy at hub.org
Thu Mar 16 19:24:29 UTC 2006


yOn Thu, 16 Mar 2006, Scot Hetzel wrote:

> On 3/15/06, Marc G. Fournier <scrappy at hub.org> wrote:
>> And configure is finding it:
>>
>> checking db.h usability... yes
>> checking db.h presence... yes
>> checking for db.h... yes
>> checking for Berkeley DB major version... 3
>> checking for Berkeley DB minor version... 3
>> checking for Berkeley DB link (-ldb3)... yes
>> checking for Berkeley DB version match... yes
>> checking for Berkeley DB thread support... yes
>>
>> But its not included as a list of built in libraries, nor will slapd start
>> when I try to use it as the backend:
>>
>> # /usr/local/etc/rc.d/slapd.sh start
>> Starting slapd.
>> Unrecognized database type (bdb)
>>
>
> It's disabled because of this in the openldap23-server/Makefile:
>
> .elif ${WITH_BDB_VER} == 3
> CONFIGURE_ARGS+=	--disable-bdb \
> 			--disable-hdb
> PLIST_SUB+=		BACK_BDB="@comment " \
> 			BACK_HDB="@comment "
> BDBLIB=			db3.3
> .else
>
> hdb needs 4+
> bdb needs 42+
>
> So it looks as though you'll need build the port with:
>
> WITH_BDB_VER=4{,1-3}

Ack, missed that ... would have thought that configure wouldn't have 
even checked if it was disabled :(

Oh well, guess its overdue time to move things off of DB3 anyway :(

Thx ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664


More information about the freebsd-ports mailing list