Hi, I tried out some solutions at http://www.openldap.org/faq/data/cache/345.html but I still don't solve the make test fail : test001-slapadd
Starting test001-slapadd ...
running defines.sh Running slapadd to build slapd database... Starting slapd on TCP/IP port 9011... Using ldapsearch to retrieve all the entries... ./scripts/test001-slapadd: line 51: 2410 Segmentation fault $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >$LOG1 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/test001-slapadd: line 53: kill: (2410) - No such process ldapsearch failed (1)!
./scripts/test001-slapadd failed (exit 1)
I guess it comes from the incorrect install of BerkerleyDB, I have installed two version of BerkerleyDB: 4.5 and 4.6 and they locate at /usr/local/BerkerleyDB.4.5 and /usr/local/BerkerleyDB.4.6 After "make install" them, then configure OpenLDAP I receive compliant about missing "db.h" file, then I copy subdirectories in /usr/local/BerkerleyDB.4.6 to corresponsive subdirectories in /usr/local. Then I have finished "make" OpenLDAP susscessful however "make test" failed.
Could you tell me how you install BerkerleyDB to work with Openldap ? or tell me if my test failure came from the difference problems. Help me, please. Thank you.