[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Configuring OpenLDAP 2.2 with gdbm



On Mon, 18 Oct 2010, KALINOWSKI, Piotr (Piotr) wrote:

Hello,
 
I am trying to build OpenLDAP version 2.2.17 with the gdbm back end. The platform is Solaris 10 on SPARC. However, the configure script fails with the following error:
 ./configure --enable-ldbm --with-ldbm-api=gdbm --enable-shell --enable-crypt --disable-bdb  
...
checking for GDBM library... checking for gdbm_open... no
checking for gdbm_open in -lgdbm... no
no
checking for gdbm.h... yes
checking for db... no
configure: warning: could not find suitable LDBM backend
configure: error: select appropriate LDBM options or disable
Does anyone know how to fix it? Thanks in advance.
Piotr

You are setting yourself for immense pain; the gdbm backend in that version will almost certainly suffer from (possibly irreparable) corruption. The only valid reason to do this would be if you found a six year old server and wanted to see what data was on it, read-only off the network...

With that said, take a glance through "config.log." You'll probably need to make your own gdbm build as a prerequisite, for that matter; once that is available on the system set CPPFLAGS/LDFLAGS appropriately when re-running OpenLDAP configure.