Discussion:
[PORTS] 8.3beta2 fails to compile on Centos5 x86_64
(too old to reply)
Marcel Gsteiger
2007-11-10 08:09:03 UTC
Permalink
Hi all

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 thread safe" during config. When=
I use the --enable-thread-safety-force option, the build fails with the me=
ssage
undefined reference to pthread_sigmask
during the libpq compile.

Is this a known issue? Is there a library I should install? Is there a work=
around?
Regards
--Marcel

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ***@postgresql.org so that your
message can get through to the mailing list cleanly
Tom Lane
2007-11-10 20:05:57 UTC
Permalink
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 thread safe" 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

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Loading...