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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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