Subject: pkg/34858: openldap-client not buildable on -current
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kochi@NetBSD.org>
List: pkgsrc-bugs
Date: 10/19/2006 07:25:00
>Number:         34858
>Category:       pkg
>Synopsis:       openldap-client not buildable on -current
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 19 07:25:00 +0000 2006
>Originator:     Takayoshi Kochi
>Release:        4.99.3 as of 20061018
>Organization:
>Environment:
NetBSD kochi-netbsd 4.99.3 NetBSD 4.99.3 (build) #4: Thu Oct 19 12:33:43 JST 2006  kochi@kochi-netbsd:/althome/kochi/build i386

>Description:
# cd /usr/pkgsrc/databases/openldap-client
# make build
...
checking for pthread_create in default libraries... no
checking for pthread link with -kthread... no
checking for pthread link with -pthread... no
checking for pthread link with -pthreads... no
checking for pthread link with -mthreads... no
checking for pthread link with -thread... no
checking for pthread link with -lpthread -lmach -lexc -lc_r... no
checking for pthread link with -lpthread -lmach -lexc... no
checking for pthread link with -lpthread -Wl,-woff,85... no
checking for pthread link with -lpthread... no
checking for pthread link with -lpthread -lmach -lexc -lc_r... no
checking for pthread link with -lpthread -lmach -lexc... no
checking for pthread link with -lpthread -Wl,-woff,85... no
checking for pthread link with -lpthread... no
checking for pthread link with -lc_r... no
checking for pthread link with -threads... no
checking for pthread link with -lpthreads -lmach -lexc -lc_r... no
checking for pthread link with -lpthreads -lmach -lexc... no
checking for pthread link with -lpthreads -lexc... no
checking for pthread link with -lpthreads... no
configure: error: could not locate usable POSIX Threads
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/openldap-client
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/openldap-client



It seems configure script cannot find libpthread, but I don't know
why.
>How-To-Repeat:
# cd /usr/pkgsrc/databases/openldap-client
# make build
>Fix:
N/A