On Wed, 2 Jan 2008 11:13:26 -0600 Vijay Sankar <[EMAIL PROTECTED]> wrote:
> On December 31, 2007 06:59:06 am Vijay Sankar wrote: > > > > env CPPFLAGS="-I/usr/local/include/db4 -I/usr/local/include/sasl" \ > > LDFLAGS="-L/usr/local/lib/db4 -L/usr/local/share/libtool/libltdl > > -L/usr/local/lib/sasl2 -L/usr/local/lib"\ ./configure \ > > --prefix=/usr/local \ > > --enable-slapd \ > > --enable-cleartext \ > > --enable-crypt \ > > --enable-rewrite \ > > --enable-wrapper \ > > --with-cyrus-sasl=yes \ > > --enable-spasswd \ > > --enable-dnssrv \ > > --enable-ldap \ > > --enable-ldbm \ > > --enable-bdb \ > > --enable-meta \ > > --enable-null \ > > --enable-passwd \ > > --disable-ipv6 \ > > --disable-shell \ > > --enable-slurpd \ > > --enable-overlays=mod \ > > --with-tls \ > > --disable-sql > [...] > > The OP said that his ./configure command was almost the same as what > I did above but did not bother to say what the difference was. I > followed the settings that Marc Balmer had in ports and so I wonder > whether that is why I haven't seen any problems yet. Okay then: ./configure \ --prefix=/usr/local --sysconfdir=/etc --localstatedir=/var \ --enable-shared --disable-static \ --enable-rewrite --without-cyrus-sasl --disable-ipv6 \ --enable-ldap --with-tls=openssl Basically no backends were compiled in except bdb,hdb,monitor,relay and ldap. But really, I don't think these configure options are relevant, because the crash happens with the db-4.6 libraries (according to gdb). > > Usually, I have problems even when no one else has any issues so I am > surprised to not have had a crash or any problems at all when I > should have had seg faults! I am using all the samba-related schemas > PLUS slurpd and I am still not seeing segfaults with OpenLDAP > 2.3.33p2 and DB 4.6. I am not new to OpenBSD (have used it since 2.8 > and have the CD's to prove it :) but don't know whether I have > somehow made a mistake in compiling userland or whether there is some > other issue involved that is making use of older versions of DB4. Can you try executing ldd(1) on slapd. Is it linked against the 4.6 db libraries? Daniel