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

RE: make test fails with Segmentation fault - openldap 2.1.16



That clearly is not the problem. The ldd output shows that slapd has found
the libdb-4.1.so. The real problem is that libdb-4.0.so is also present. You
cannot link two different versions of libdb into the same process. Whatever
libraries are pulling in libdb-4.0 need to be rebuilt with libdb-4.1, and
libdb-4.0 must be removed.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of  Cécile Leyman

> Hi,
>
> try this :
>
> link your BerkeleyDB libs to /lib
> (libdb-4.0.so) or (libdb-4.1.so)
>
> Regards,
>
> Cécile.
>
>
> Quoting Franz Ehrengruber <franz@iptelenet.com>:
>
> > Hello List Members,
> >
> > I'm having problems with the latest version of
> openldap-2.1.16. 'make test'
> >
> > fails with 18959 Segmentation fault. This is a rather long
> message showing
> > the output associated with the build commands, except for
> 'make depend' and
> >
> > 'make'. I hope the information below is useful for someone
> to point me in the
> >
> > right direction. Please help - Thank you.
> >
> > Franz J. Ehrengruber
> > IP.Telenet
> >
> >
> > 1)System: Linux SuSE 8.1
> >
> >
> > 8) ldd /usr/local/libexec/slapd
> > -------------------------------
> >         libsasl.so.7 => /usr/lib/libsasl.so.7 (0x40021000)
> >         libpam.so.0 => /lib/libpam.so.0 (0x40034000)
> >         libdb-4.1.so => /usr/lib/libdb-4.1.so (0x4003c000)
> >         libcrypt.so.1 => /lib/libcrypt.so.1 (0x400e5000)
> >         libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40116000)
> >         libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x4011e000)
> >         libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6
> (0x4014e000)
> >         libresolv.so.2 => /lib/libresolv.so.2 (0x40224000)
> >         libdl.so.2 => /lib/libdl.so.2 (0x40236000)
> >         libpthread.so.0 => /lib/libpthread.so.0 (0x40239000)
> >         libc.so.6 => /lib/libc.so.6 (0x4024e000)
> >         libdb-4.0.so => /usr/lib/libdb-4.0.so (0x4036c000)
> >         libgssapi.so.1 => /usr/lib/libgssapi.so.1 (0x40412000)
> >         libkrb5.so.17 => /usr/lib/libkrb5.so.17 (0x4041e000)
> >         libasn1.so.5 => /usr/lib/libasn1.so.5 (0x40455000)
> >         libroken.so.9 => /usr/lib/libroken.so.9 (0x40477000)
> >         libcom_err.so.1 => /usr/lib/libcom_err.so.1 (0x40489000)
> >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)