This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: [ITP] openldap-devel: Lightweight Directory Access Protocol clients and libraries
>>>>> "Charles" == Charles Wilson writes:
Charles> Dr. Volker Zell wrote:
>> It would be interesting to know why the make check run works but after installation
>> the resulting shared libs don't work anymore. Charles ??
Charles> Shared libs get relinked on installation...so perhaps using the
Charles> "wrong" (e.g. not the one created by configure) libtool is causing
Charles> problems in the relink step but not in the initial build step?
Charles> Assuming that openldap uses libtool in the "normal" way -- that is, by
Charles> having AC_LIBTOOL or whatever in the configure.in file, I'd recommend
Charles> a complete reautotoolization --
Charles> 1. put AC_PREREQ([2.59]) in configure.in
Charles> 2. run autoupdate (or perhaps autoreconf --force --verbose
Charles> --install, or manually run the various autotools to get things
Charles> "right")
Charles> and try a build without post-configure butchery of the libtool script :-)
I tried all that with no success. Each time I call an installed version of one of the ldap
command line tools I get a windows popup box saying
The application failed to initialize properly (0xc0000022). Click on OK to terminate the application.
Running under gdb gives:
12:40 PM [539]> gdb ./ldapsearch.exe
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) run
Starting program: /usr/local/src/openldap-2.1.25/.inst/usr/local/bin/ldapsearch.exe
Program received signal SIGSEGV, Segmentation fault.
Program received signal SIGSEGV, Segmentation fault.
Program exited with code 0200.
You can't do that without a process to debug.
(gdb) where
No stack.
But when running it under strace ALL works fine.
Charles> Chuck
Ciao
Volker