Take a look in Makefile for OpenLDAP in ports.
Section for bdb flavor.
On Saturday 17 June 2006 13:08, Sandro guly Zaccarini wrote:
>
> $ /usr/local/libexec/slapd
> Unrecognized database type (bdb)
>
>
>
> trying to compile from scratch openldap sources i follow into this
> error:
> checking for Berkeley DB major version... 1
> checking for Berkeley DB minor version... 0
> checking for Berkeley DB link (-ldb1)... no
> checking for Berkeley DB link (-ldb-1)... no
> checking for Berkeley DB link (default)... no
> configure: error: BDB/HDB: BerkeleyDB not available
>
> of course in the first error I have db-4.2.52p8 installed and openldap
> was installed from pkg.
> the second, i tried with 4.2.52 from ports and with 4.2.52 from sleepycat
> (with the four patches and also with 4+unofficial one on openldap.org
> cvs) and ldflags/cflags was exported correctly (i suppose.. )
>
> what's up?
>
> sz
>