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

Re: How to make Fedora4 build threadsafe?

From: Matt England <mengland(at)mengland(dot)net>
To: pgsql-ports(at)postgresql(dot)org
Cc: mengland(at)mengland(dot)net
Subject: Re: How to make Fedora4 build threadsafe?
Date: 2006-03-01 05:57:53
Message-ID: 6.1.2.0.2.20060228235504.045caa08@127.0.0.1 (view raw or flat)
Thread:
Lists: pgsql-ports
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 


In response to

pgsql-ports by date

Next:From: Tom LaneDate: 2006-03-01 15:34:51
Subject: Re: How to make Fedora4 build threadsafe?
Previous:From: Matt EnglandDate: 2006-03-01 05:34:45
Subject: How to make Fedora4 build threadsafe?

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