From beech@FreeBSD.org  Mon Dec  1 14:16:17 2008
Return-Path: <beech@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1CA091065675
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 Dec 2008 14:16:17 +0000 (UTC)
	(envelope-from beech@FreeBSD.org)
Received: from bsdevel.alaskaparadise.com (bsdevel.alaskaparadise.com [208.86.224.193])
	by mx1.freebsd.org (Postfix) with ESMTP id E9B2C8FC2C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 Dec 2008 14:16:16 +0000 (UTC)
	(envelope-from beech@FreeBSD.org)
Received: from stargate.alaskaparadise.com (172-67-237-24.gci.net [24.237.67.172])
	by bsdevel.alaskaparadise.com (Postfix) with ESMTP id 4909D28E288D
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 Dec 2008 14:00:30 +0000 (UTC)
Message-Id: <1228140030.71415@stargate.alaskaparadise.com>
Date: Mon, 1 Dec 2008 05:00:30 -0900
From: "beech@" <beech@FreeBSD.org>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: net/openldap24-client Fails on 6.x - Linker error on pthread
X-Send-Pr-Version: gtk-send-pr 0.4.9 
X-GNATS-Notify:

>Number:         129335
>Category:       ports
>Synopsis:       net/openldap24-client Fails on 6.x - Linker error on pthread
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 01 14:20:01 UTC 2008
>Closed-Date:    Tue Dec 02 00:27:23 UTC 2008
>Last-Modified:  Tue Dec 02 00:27:23 UTC 2008
>Originator:     beech@
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
FreeBSD 
>Environment:


System: FreeBSD 8.0-CURRENT #2: Mon Dec  1 01:49:28 AKST 2008
    root@stargate.alaskaparadise.com:/usr/obj/usr/src/sys/STARGATE



>Description:


(cd .libs && rm -f libldap_r.la && ln -s ../libldap_r.la libldap_r.la)
cc -O2 -fno-strict-aliasing -pipe -I../../include -I../../include  -DLDAP_R_COMPILE -I./../libldap -I/usr/local/include  -c apitest.c
/bin/sh /usr/local/bin/libtool --mode=link  cc  -O2 -fno-strict-aliasing -pipe  -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib   -o apitest apitest.o libldap_r.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a   -lssl -lcrypto  -lfetch -lcom_err  -lc_r
cc -O2 -fno-strict-aliasing -pipe -rpath=/usr/lib:/usr/local/lib -o .libs/apitest apitest.o  -L/usr/local/lib ./.libs/libldap_r.so /work/a/ports/net/openldap24-client/work/openldap-2.4.11/libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/liblutil.a -lssl -lcrypto -lfetch -lcom_err  -Wl,--rpath -Wl,/usr/local/lib
./.libs/libldap_r.so: undefined reference to `pthread_attr_destroy'
./.libs/libldap_r.so: undefined reference to `pthread_create'
./.libs/libldap_r.so: undefined reference to `pthread_attr_init'
./.libs/libldap_r.so: undefined reference to `pthread_exit'
./.libs/libldap_r.so: undefined reference to `pthread_equal'
./.libs/libldap_r.so: undefined reference to `pthread_setconcurrency'
./.libs/libldap_r.so: undefined reference to `pthread_kill'
./.libs/libldap_r.so: undefined reference to `pthread_attr_setstacksize'
./.libs/libldap_r.so: undefined reference to `pthread_attr_setdetachstate'
./.libs/libldap_r.so: undefined reference to `pthread_join'
./.libs/libldap_r.so: undefined reference to `pthread_getconcurrency'
*** Error code 1

Stop in /work/a/ports/net/openldap24-client/work/openldap-2.4.11/libraries/libldap_r.
*** Error code 1



>How-To-Repeat:


make clean && make install


>Fix:


Unknown


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->delphij 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Dec 1 14:20:11 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129335 
State-Changed-From-To: open->closed 
State-Changed-By: beech 
State-Changed-When: Tue Dec 2 00:25:55 UTC 2008 
State-Changed-Why:  
Tinderbox error 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129335 
>Unformatted:
