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

Builds OK but test002 fails

Trying to build openLDAP (both versions 2.2.27 and 2.3.4 - in separate directories) with no earlier errors or warnings - but test stage fails at test002 (both versions) with

>>>>> Starting test002-populate ...
running defines.sh
Starting slapd on TCP/IP port 9011...
Using ldapsearch to check that slapd is running...
Waiting 5 seconds for slapd to start...
Using ldapadd to populate the database...
ldapadd failed (1)!
>>>>> ./scripts/test002-populate failed (exit 1)
make[2]: *** [bdb-yes] Error 1
make[2]: Leaving directory `/home/rpm/Progs/openldap-2.3.4/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/rpm/Progs/openldap-2.3.4/tests'
make: *** [test] Error 2

my configure script:
export CPPFLAGS="-I/usr/local/BerkeleyDB.4.3/include"
export LDFLAGS="-L/usr/local/BerkeleyDB.4.3/lib"
export LIBS="/usr/local/BerkeleyDB.4.3/lib/libdb-4.3.a"
./configure --disable-cleartext --enable-crypt --with-tls | tee build.log

I previously installed bdb 4.3.28 using defaults, no reported problems.

$ make depend | tee -a build.log
$ make | tee -a build.log
$ make test | tee -a build.log

It's a new (to me!) box with SuSE 9.3 running on an AMD Athlon 650 - fairly standard hardware. SuSE 9.3 does install bdb (4.3.27) as a dependency of apache, which I also need, but surely the configure script should be telling openLDAP to ignore that?

Any ideas anyone?