[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
libldap builds without thread libraries (ITS#3290)
Full_Name: Torsten Landschoff
Version: CVS HEAD
OS: Debian unstable
URL: http://people.debian.org/~torsten/patches/openldap/linkthread_266688.diff
Submission from: (NULL) (217.186.154.28)
As noted in Debian bug #266688 the libldap library contains symbols from
libpthread but is not linked against the thread libraries. The problem still
exists in CVS HEAD as of today.
The simple diff follows and is available for download:
Index: Makefile.in
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/libraries/libldap/Makefile.in,v
retrieving revision 1.71
diff -u -r1.71 Makefile.in
--- Makefile.in 16 Mar 2004 16:44:34 -0000 1.71
+++ Makefile.in 19 Aug 2004 01:01:46 -0000
@@ -47,7 +47,7 @@
XLIBS = $(LIBRARY) $(LDAP_LIBLBER_LA) $(LDAP_LIBLUTIL_A)
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
NT_LINK_LIBS = $(LDAP_LIBLBER_LA) $(AC_LIBS) $(SECURITY_LIBS)
-UNIX_LINK_LIBS = $(LDAP_LIBLBER_LA) $(AC_LIBS) $(SECURITY_LIBS)
+UNIX_LINK_LIBS = $(LDAP_LIBLBER_LA) $(AC_LIBS) $(SECURITY_LIBS)
$(LTHREAD_LIBS)
apitest: $(XLIBS) apitest.o
$(LTLINK) -o $@ apitest.o $(LIBS)
Greetings,
Torsten