Why isn't Berkeley DB being included in slapd?
Scot Hetzel
swhetzel at gmail.com
Thu Mar 16 16:35:15 UTC 2006
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}
Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
More information about the freebsd-ports
mailing list