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

Re: More Install Help



I had this same problem recently.  I did two things, switched to version
2.1.23 and was more careful in defining my build environment with CPPFLAGS,
LD_LIBRARY_PATH and LDFLAGS.  Making sure that all my supporting libs and
headers were mapped, including Cyrus-SASL, Berkeley DB, OpenSSL, Kerberos,
etc.
You might want to post the contents of
/src/openldap-2.1.23/tests/test-db/master.log

Chris

> The other day I posted a message about being unable to compile my
> Openldap with the Berkeley DB4.1 libs.  You folkd were a great help and
> got me through.  I was able to configure, make depend, and even make the
> distribution.  Now I am stuck again.  I do a make test and I get the
> following.  I tried starting the slapd process and it just exits.  No
> error messages, no core.  Any other ideas.
> 
> 
> cd tests; make test
> make[1]: Entering directory `/home/root/openldap-2.1.22/tests'
> ln: `./data': cannot overwrite directory
> make[1]: [test-bdb] Error 1 (ignored)
> ln: `./schema': File exists
> make[1]: [test-bdb] Error 1 (ignored)
> ln: `ucdata/liblunicode': File exists
> make[1]: [test-bdb] Error 1 (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...
> ./scripts/test000-rootdse: line 49: 23016 Segmentation fault      $SLAPD
> -f $DBCONF -h $MASTERURI -d $LVL $TIMING >$MASTERLOG 2>&1
> 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: line 57: kill: (23016) - No such process
> ldap_bind: Can't contact LDAP server (81)
>>>>>> Test failed
>>>>>> ./scripts/test000-rootdse failed (exit 1)
> make[1]: *** [test-bdb] Error 1
> make[1]: Leaving directory `/home/root/openldap-2.1.22/tests'
> make: *** [test] Error 2
> 
> 
> Thanks Brian
> 
> 
> 
>