Skip site navigation (1) Skip section navigation (2)

Re: BUG #2436: cannot --enable-thread-safety on -lpthread host

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Paul Forgey" <paulf(at)aphrodite(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2436: cannot --enable-thread-safety on -lpthread host
Date: 2006-05-15 13:48:51
Message-ID: 2467.1147700931@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Paul Forgey" <paulf(at)aphrodite(dot)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

In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2006-05-15 13:50:57
Subject: Re: BUG #2437: Rules for COPY
Previous:From: Tom LaneDate: 2006-05-15 13:23:33
Subject: Re: postgresql-[any version] from FreeBSD ports - startup problems after crash

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group