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

Re: OpenLDAP coredumps on startup (Solaris 10)

Hi Satoh

thank you for the tip. I recompiled the openldap server as static binary, but it still crashes on startup (sometimes) at the same position.

Daniel Hoffend

SATOH Fumiyasu schrieb:
At Sat, 31 Jan 2009 02:56:06 +0100,
dh@dotlan.net wrote:
There is no such message anywhere in the OpenLDAP code. I suspect your're using the Sun NSS libraries and hitting a conflict between OpenLDAP's and Sun's libldap. It's worth noting that in future OpenSolaris releases, they will be shipping OpenLDAP's libraries and abandoning their old libldap.
That could be true, i already found something on google about the conflict between the sun libldap and the one from openldap. I just have to find out if i've any chance to replace them on a solaris 10 system or find another way to run openldap without running into such a conflict.

I think you can avoid this problem with:

  $ pwd
  $ ./configure --disable-shared --enable-static --enable-slapd ...

or run the attached ad-hoc script:

  $ pwd
  $ /path/to/penldap-rename-symbols.pl YOUR_SITE_NAME \
  include/*.h include/*.hin
  $ perl -i.dist -pe 's/^(CFLAGS\s*=.*)$/$1 -DLDAP_DEPRECATED/' \
  $ ./configure --enable-shared --enable-slapd ...