[Date Prev][Date Next]
Re: Configuring OpenLDAP 2.2 with gdbm
That error can becaused by one of two things:
1. You don't have the necessary gdbm libraries installed
2. Some of your environment variables are not setup correctly to search
for the correct include and/or library files for gdbm.
First, check to make sure you have the ldbm library and header files
installed. Then check your CPPFLAGS and LDFLAGS to make sure they
contain the paths to the gdbm include and library respectively.
For example, on my RHEL 5.5 system, I would do
These are default search locations, so in reality, they don't need to be
set on my system. I have no idea where Solaris 10 would put them, so I
don't know what these values should be for you.
Benjamin Griese wrote:
> Hello Piotr,
> you should consider updating your ancient OpenLDAP-Server. :)
> Bye, Benjamin.
> On Mon, Oct 18, 2010 at 14:14, KALINOWSKI, Piotr (Piotr)
> <firstname.lastname@example.org> wrote:
>> 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
>> 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.