Re: BUG #2436: cannot --enable-thread-safety on -lpthread host - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2436: cannot --enable-thread-safety on -lpthread host
Date
Msg-id 2467.1147700931@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2436: cannot --enable-thread-safety on -lpthread host  ("Paul Forgey" <paulf@aphrodite.com>)
Responses Re: BUG #2436: cannot --enable-thread-safety on -lpthread host  (Paul Forgey <paulf@aphrodite.com>)
List pgsql-bugs
"Paul Forgey" <paulf@aphrodite.com> writes:
> Linux supplies -lpthread.  The configure script seems to only look for
> -lpthreads and then give up.

Say again?  I get this configure trace on Fedora 4:

checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking whether pthreads work with -pthreads... no
checking whether pthreads work with -mthreads... no
checking for the pthreads library -lpthread... yes
checking whether pthreads work with --thread-safe... no
checking whether pthreads work with -mt... no
checking for the pthreads library -lpthreadGC2... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: postgresql-[any version] from FreeBSD ports - startup problems after crash
Next
From: Tom Lane
Date:
Subject: Re: BUG #2437: Rules for COPY