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

Re: libldap builds without thread libraries (ITS#3290)



libldap does not use any thread functions at all. I see no references to 
any pthread functions in any of my builds of libldap. Perhaps you mean 
libldap_r. Please provide more substantial evidence of any problem here. 
Otherwise, I can only conclude that your Debian package is built 
incorrectly.

torsten@debian.org wrote:

>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
>
>
>  
>


-- 
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support