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

BerkeleyDB 4 OK?



I am trying to build OpenLDAP 2.0.21 with BerkeleyDB 4.0.14, and am getting segfaults in the "make test" step (RedHat 7.2 system). I read earlier emails that 3.2.9 was the supported BerkeleyDB, but that was in relation to OpenLDAP 2.0.11. I saw mention of BerkeleyDB 4 compatibility in the CHANGES file, so I thought it might work.

Should I go back to BerkeleyDB 3.2.9 or is my problem likely something else?

Thanks,

Allan

[astreib@garp openldap-2.0.21]$ make test
cd tests; make test
make[1]: Entering directory `/var/tmp/openldap-2.0.21/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: 31742 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: (31742) - 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 `/var/tmp/openldap-2.0.21/tests'
make: *** [test] Error 2