--On Friday, February 03, 2012 10:03 AM +0100 David Coutadeur <[email protected]> wrote:
> > That was my first try. > I have used the option --enable-debug in the configure command, which > seems to produce AC_CFLAGS = -g -O2, itself reinjected in CFLAGS = > $(AC_CFLAGS) $(DEFS) in the Makefile. > > However this has lead to an unusable stacktrace. Thus I preferred using > the binary file (with debug symbols) pointed by > openldap-src/servers/slapd : > /opt/openldap-src/servers/slapd/.libs/lt-slapd > This gave me the stacktrace I first sent. By default, "make install" will strip the binaries of the debugging symbols. You have to prevent that by running it as: make install STRIP="" --Quanah -- Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
