(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) Trash : (Answer) INSTALLING LDAP
This is a question and not an answer...hoping someone else has an answer for me. I'll be happy to post an answer when I have an answer to provide.
Installing OpenLDAP 2.4.23, I keep hitting the same road block and not sure whether to bypass it or be concerned that the "make test" keeps failing out at the same spot -- see below.
Running configure with the following: I’ve tried different iterations of the below configure command, adding a library moving things around, etc.
# CPPFLAGS="-I/usr/local/include, -I/usr/include, -I/usr/local/cyrus-sasl/include, -I/usr/local/db-5.2.36/include" \ LDFLAGS="-L/usr/lib64, -L/usr/local/lib64, -L/usr/local/cyrus-sasl/lib, -L/usr/local/db-5.2.36/lib" \ ./configure --prefix=/usr/local/openldap \ --libexecdir=/usr/local/openldap/sbin \ --sysconfdir=/usr/local/openldap/etc \ --localstatedir=/var/lib/ldap_db \ --enable-slapd=yes \ --enable-cleartext=yes \ --enable-crypt=yes \ --enable-debug=yes \ --enable-dynamic=yes \ --enable-spasswd=yes \ --enable-modules=yes \ --enable-rewrite=yes \ --enable-rlookups=yes \ --disable-slp \ --enable-bdb=yes \ --enable-hdb=mod \ --enable-ldap=yes \ --enable-ldif=yes \ --enable-meta=yes \ --enable-monitor=yes \ --enable-null=yes \ --disable-passwd \ --disable-perl \ --disable-shell \ --disable-relay \ --disable-sql \ --enable-overlays=mod \ --enable-accesslog=mod \ --with-cyrus-sasl \ --with-tls && make depend && make
Running “make test” fails at
>>>>> Starting test004-modify for bdb... running defines.sh Running slapadd to build slapd database... Starting slapd on TCP/IP port 9011... Testing slapd modify operations... Testing modify, add, and delete... ./scripts/test004-modify: line 172: 26669 Segmentation fault $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 ldapmodify failed (255)! ./scripts/test004-modify: line 177: kill: (26669) - No such process >>>>> ./scripts/test004-modify failed for bdb (exit 255) make[2]: *** [bdb-yes] Error 255 make[2]: Leaving directory `/var/opt/ldap_build/openldap-2.4.23/tests' make[1]: *** [test] Error 2 make[1]: Leaving directory `/var/opt/ldap_build/openldap-2.4.23/tests' make: *** [test] Error 2
This is the “tail” of the slapd.1.log file:
ber_flush2: 14 bytes to sd 15 conn=1001 op=5 RESULT tag=105 err=0 text= slap_graduate_commit_csn: removing 0x1bd895f0 20111108173216.034186Z#000000#000#000000 connection_get(15) connection_get(15): got connid=1001 connection_read(15): checking for input on id=1001 ber_get_next ber_get_next: tag 0x30 len 86 contents: op tag 0x4a, time 1320773536 ber_get_next conn=1001 op=6 do_delete ber_scanf fmt (m) ber: >>> dnPrettyNormal: <cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example,dc=com> => ldap_bv2dn(cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example,dc=com,0) <= ldap_bv2dn(cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example,dc=com)=0 => ldap_dn2bv(272) <= ldap_dn2bv(cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example,dc=com)=0 => ldap_dn2bv(272) <= ldap_dn2bv(cn=james a jones 2,ou=information technology division,ou=people,dc=example,dc=com)=0 <<< dnPrettyNormal: <cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example,dc=com>, <cn=james a jones 2,ou=information technology division,ou=people,dc=example,dc=com> conn=1001 op=6 DEL dn="cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example,dc=com" bdb_dn2entry("cn=james a jones 2,ou=information technology division,ou=people,dc=example,dc=com") => bdb_dn2id("cn=james a jones 2,ou=information technology division,ou=people,dc=example,dc=com") <= bdb_dn2id: got id=0xd entry_decode: "cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example,dc=com" <= entry_decode(cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example,dc=com) ==> bdb_delete: cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example,dc=com slap_queue_csn: queing 0x41b58990 20111108173216.036960Z#000000#000#000000 bdb_dn2entry("cn=james a jones 2,ou=information technology division,ou=people,dc=example,dc=com") => bdb_dn2id_children("cn=james a jones 2,ou=information technology division,ou=people,dc=example,dc=com") <= bdb_dn2id_children("cn=james a jones 2,ou=information technology division,ou=people,dc=example,dc=com"): no (-30988) => bdb_dn2id_delete 0xd: "cn=james a jones 2,ou=information technology division,ou=people,dc=example,dc=com"

Not sure where to proceed from here. Running out of options. The rpms (of sasl, ssl, ldap, etc) version pushed out by CentOS are old. I’ve been trying to compile this with different options for over 3-weeks with not much headway.
john.borresen@ll.mit.edu

[Append to This Answer]
Previous: (Answer) About resultcode 18
Next: (Answer) Can not load overlay chain
This document is: http://www.openldap.org/faq/index.cgi?file=1523
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org