Re: 8.3beta2 fails to compile on Centos5 x86_64 - Mailing list pgsql-ports

From Tom Lane
Subject Re: 8.3beta2 fails to compile on Centos5 x86_64
Date
Msg-id 19517.1194725077@sss.pgh.pa.us
Whole thread Raw
In response to 8.3beta2 fails to compile on Centos5 x86_64  ("Marcel Gsteiger" <Marcel.Gsteiger@milprog.ch>)
Responses Antw: Re: 8.3beta2 fails to compile on Centos5 x86_64
List pgsql-ports
"Marcel Gsteiger" <Marcel.Gsteiger@milprog.ch> writes:
> Trying to rebuild postgresql-8.3beta2-1PGDG.f7.src.rpm on my Centos 5.0 x86_64, I get the error "your platform is not
threadsafe" during config. When I use the --enable-thread-safety-force option, the build fails with the message 
> undefined reference to pthread_sigmask
> during the libpq compile.

Do you have glibc-devel installed?  It sounds like you might be missing
/usr/lib64/libpthread.so, which is in that RPM.  However, we do
BuildRequire glibc-devel, so I'm not sure how you managed to try to
build the RPM without it.

            regards, tom lane

pgsql-ports by date:

Previous
From: "Marcel Gsteiger"
Date:
Subject: 8.3beta2 fails to compile on Centos5 x86_64
Next
From: "Marcel Gsteiger"
Date:
Subject: Antw: Re: 8.3beta2 fails to compile on Centos5 x86_64