ports/129335: net/openldap24-client Fails on 6.x - Linker error on pthread

beech@ beech at FreeBSD.org
Mon Dec 1 14:20:02 UTC 2008


>Number:         129335
>Category:       ports
>Synopsis:       net/openldap24-client Fails on 6.x - Linker error on pthread
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 01 14:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list