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

Re: Segmentation fault on 2.1.13



Michael Ströder wrote:
Simon Gao wrote:

I still got segmentation fault even without any index. This is really wired. Have you tried 2.1.13 with your current slapd.conf yet?


Any chance you have a Berkeley-DB library mix on your system? Check your RPM-list.

Ciao, Michael.


Indeed that is my case, with RH 8.0 we have db4-4.0.14-14 , but I did compile statically to DB 4.1.25 using CPFALGS and LDFLAGS. It used to work fine when I compiled 2.1.12 the same way !? What can be wrong ? A miscompilation of me or a real problem with 2.1.13 ?


here's how I compiled:

CPPFLAGS=-I/usr/src/redhat/BUILD/openldap-2.1.13/db-instroot/include
LDFLAGS=-L/usr/src/redhat/BUILD/openldap-2.1.13/db-instroot/lib

./configure --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-slapd --with-slurpd --without-ldapd --with-threads=posix --enable-static --enable-local --enable-cldap --disable-rlookups --with-tls --with-cyrus-sasl --enable-wrappers --enable-passwd --enable-shell --enable-cleartext --enable-crypt --enable-spasswd --enable-modules --enable-lmpasswd --enable-monitor --enable-rewrite --enable-ldap --enable-meta --enable-shell --enable-password --enable-debug --libexecdir=/usr/sbin --localstatedir=//var/run --enable-ldbm --with-ldbm-api=berkeley --enable-bdb --disable-shared --with-kerberos=k5only --enable-kpasswd --target=i386-redhat-linux-gnu


-- Jehan Procaccia | Ingenieur Systemes & Reseaux Institut National des Telecommunications| Tel : +33 (0) 160764436 MCI, Moyens Communs Informatiques | Mail: Jehan.Procaccia@int-evry.fr 9 rue Charles Fourier 91011 Evry France | Fax : +33 (0) 160764321