• Bug#266688: FTBFS on k*bsd-gnu

    From Robert Millan@1:229/2 to All on Wed Aug 18 20:30:14 2004
    From: [email protected]

    This is a multi-part MIME message sent by reportbug.

    Package: openldap2
    Severity: wishlist
    Tags: patch

    Hi,

    openldap2 fails to build on GNU/k*BSD. There are two problems:

    - libldap.so contains unresolved dependencies to pthread_mutex_* functions,
    but the -lpthread flag is not passed when linking it. The attached
    patch fixes this. Could you forward it upstream?

    - libtool is outdated. Please see bug #242950 for details.

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: kfreebsd-i386 (i386)
    Kernel: GNU/kFreeBSD 5.2.1-5
    Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to C)

    diff -ur openldap2-2.1.30.old/libraries/libldap/Makefile.in openldap2-2.1.30/libraries/libldap/Makefile.in
    --- openldap2-2.1.30.old/libraries/libldap/Makefile.in 2004-08-18 19:54:14.000000000 +0200
    +++ openldap2-2.1.30/libraries/libldap/Makefile.in 2004-08-18 19:25:25.000000000 +0200
    @@ -37,7 +37,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)

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)