From: Matt England <mengland@mengland.net>
To: pgsql-ports@postgresql.org
Cc: mengland@mengland.net
Subject: Re: How to make Fedora4 build threadsafe?
Date: Tue, 28 Feb 2006 23:57:53 -0600
Message-ID: <6.1.2.0.2.20060228235504.045caa08@127.0.0.1> (raw)
In-Reply-To: <6.1.2.0.2.20060228233136.0462bda0@127.0.0.1>
References: <6.1.2.0.2.20060228233136.0462bda0@127.0.0.1>
At 2/28/2006 11:34 PM, Matt England wrote:
>checking thread safety of required library functions... no
>configure: error:
>*** Thread test program failed. Your platform is not thread-safe.
>*** Check the file 'config.log'for the exact reason.
For what it's worth, this seems to be pertinent part of config.log:
[...]
configure:16424: checking for the pthreads library -lpthreads
configure:16462: gcc -o conftest -O2 -Wall -Wmissing-prototypes
-Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -D_GNU_SOURCE conftest.c -lpthreads -lz
-lreadline -ltermcap -lcrypt -lresolv -lnsl -ldl -lm -lbsd >&5
conftest.c: In function 'main':
conftest.c:125: warning: 'th' is used uninitialized in this function
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
configure:16468: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "PostgreSQL"
[...]
...although the thing is so long that it's hard to tell.
I couldn't find a pthreads library/package/thing anywhere, or at least not
yet. My system *does* have a /usr/lib/libpthread.so (singular), but no
libpthreads (plural). Installing linuxpthreads-devel didn't solve anything.
Any thoughts?
-Matt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-ports@postgresql.org
Cc: mengland@mengland.net
Subject: Re: How to make Fedora4 build threadsafe?
In-Reply-To: <6.1.2.0.2.20060228235504.045caa08@127.0.0.1>
References: <6.1.2.0.2.20060228233136.0462bda0@127.0.0.1> <6.1.2.0.2.20060228235504.045caa08@127.0.0.1>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox