[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
make test leads to segmentation fault on linux
- To: <openldap-software@OpenLDAP.org>
- Subject: make test leads to segmentation fault on linux
- From: Jie Gao <J.Gao@isu.usyd.edu.au>
- Date: Tue, 17 Jul 2001 18:06:07 +1000 (EST)
- Fax: +61 (0)2 9351 5001(W)
- Organisation: The University of Sydney
- Telephone: +61 (0)2 9351 5769(W)
Hi All,
host info:
RedHat 7.1.
Linux xxxx 2.2.16-22smp #1 SMP Tue Aug 22 16:39:21 EDT 2000 i686 unknown
openldap-2.0.11:
Configure:
#! /bin/sh
env CPPFLAGS='-I/usr/local/BerkeleyDB.3.1/include -I/usr/local/src/tcp_wrappers' \
LDFLAGS='-L/usr/local/BerkeleyDB.3.1/lib -R/usr/local/BerkeleyDB.3.1/lib -L/usr/local/lib -R/usr/local/lib
-L/usr/local/src/tcp_wrappers -R/usr/local/src/tcp_wrappers' \
CC=gcc CFLAGS='-O2' ./configure --enable-wrappers --with-tls --enable-dynamic
make test:
cd tests; make test
make[1]: Entering directory `/usr/local/src/openldap-2.0.11/tests'
ln: ./data: cannot overwrite directory
make[1]: [test-ldbm] Error 1 (ignored)
ln: ./schema: File exists
make[1]: [test-ldbm] Error 1 (ignored)
Initiating LDAP tests for LDBM...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: ldbm
>>>>> Starting test000-rootdse ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve all the entries...
Waiting 5 seconds for slapd to start...
./scripts/test000-rootdse: line 35: 15422 Segmentation fault $SLAPD -f $SCHEMACONF -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...
./scripts/test000-rootdse: kill: (15422) - No such pid
ldap_bind: Can't contact LDAP server
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make[1]: *** [test-ldbm] Error 1
make[1]: Leaving directory `/usr/local/src/openldap-2.0.11/tests'
make: *** [test] Error 2
No core file found.
Anybody else have this problem?
Jie