Sounds like the copy of slapd from your build tree is a libtool wrapper
script (run "file" or "less" on it). Look for
openldap-2.3.25/servers/slapd/.libs/slapd for an actual binary to pass to
gdb. (Make sure you've compiled with -g to get symbols, of course.)
On Thu, 10 Aug 2006, johan.jonemo@hep.lu.se wrote:
To elaborate a bit: the stripped executable could be run in gdb (with very
little information available of course), the non-stripped version can't.