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

Re: bdb error (ITS#3093)



Hi !

I think I know what is your problem :) ... try next line when configure
ldap :

env CC=gcc CPPFLAGS="-I/usr/local/openldap/db/include"  LDFLAGS="-L/usr/local/op
enldap/db/lib -L/usr/local/lib -R/usr/local/lib -R/usr/local/openldap/db/lib" ./
configure

respectly change place where are installed your bdb.

For many reason I always instal separate version of bdb library only for
OpenLDAP, and that work fine almost 3 years.

also dont forget to make install with SUN libs :

PATH=/usr/ccs/bin:$PATH make install

That are all trick for Solaris 9 with SUN and GNU library installed.

Dubravko Penezic

ISA, Srce - University Computing Center, Zagreb, Croatia

On Fri, 16 Apr 2004 jlm@lmgc.univ-montp2.fr wrote:

> Full_Name: Jean-Laurent MEMOIRE
> Version: 2.1.29
> OS: Solaris 9
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (195.220.230.22)
>
>
> Hello,
> i'm trying to install OpenLDAP in my computer which run Solaris 9.
> To make that, i've follow instructions which are described in the INSTALL file.
> so i type
> ./configure --enable-ldbm
> make depend
> make
>
> All is OK. My problem comes now.
>
> When i want make the tests, i have an error with slapd.
> So i've read the README file in ./tests
> they say that we can make the tests in two steps, 'make ldbm' and 'make bdb'.
>
> so, when i make the ldbm test, all is OK.
>
> But when i make the bdb test...
>
> pim% make bdb
> ln : impossible de créer ./data : Ce fichier existe déjà
> make: [test-bdb] Error 2 (ignored)
> ln : impossible de créer ./schema : Ce fichier existe déjà
> make: [test-bdb] Error 2 (ignored)
> ln : impossible de créer ucdata/liblunicode : Ce fichier existe déjà
> make: [test-bdb] Error 2 (ignored)
> Initiating LDAP tests for BDB...
> >>>>> Executing all LDAP tests...
> >>>>> Test Directory: .
> >>>>> Backend: bdb
> >>>>> Starting test000-rootdse ...
> running defines.sh
> Datadir is ./data
> Cleaning up in ./test-db...
> Starting slapd on TCP/IP port 9009...
> Using ldapsearch to retrieve the root DSE...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> ./scripts/test000-rootdse: tuer: ce processus n'existe pas
> ldap_bind: Can't contact LDAP server (81)
> >>>>> Test failed
> >>>>> ./scripts/test000-rootdse failed (exit 1)
> make: *** [test-bdb] Error 1
>
> I've donwloaded the latest version of db on sleepycat.com (4.2.52)
> but i've the impression that LDAP don't see the new db version.
>
> If somebody has already seen this problem or if you have an idea to resolve it,
> please answer this message.
>
> Thank you every body and see you soon
>
> Jean-Laurent
>