>> 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.
glibc-devel-2.5-12 is installed, /usr/lib64/libpthread.so exists. This is a very basic CentOS 5 x86_64 install from DVD, 'yum update' afterwards. I only installed the packages that were in the BuildRequire list of the SRPM. I would like to set up this box just for testing my 8.1 and 8.2 database apps against the new version.
Pls let me know if you need some files in the BUILD directory (e.g. config.log).
My only diff from the original SPEC file is:
< %configure --disable-rpath --enable-thread-safety-force \
> %configure --disable-rpath \
In response to
pgsql-ports by date
|Next:||From: Tom Lane||Date: 2007-11-10 22:54:11|
|Subject: Re: Antw: Re: 8.3beta2 fails to compile on Centos5 x86_64 |
|Previous:||From: Tom Lane||Date: 2007-11-10 20:04:37|
|Subject: Re: 8.3beta2 fails to compile on Centos5 x86_64 |