![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
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. W= |
|
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. |
|
%configure --disable-rpath \ |
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
Hmm. I suspect either we're short a BuildRequire or two, or you missed something that's considered part of the standard minimum build environment. The "exceptions" list on this page shows what Red Hat considers the core set of packages that needn't be BuildRequire'd: http://fedoraproject.org/wiki/Packag...nes#Exceptions However, none of those look particularly likely to result in the failure you're seeing here :-(. Could you send along the config.log output? Thanks for your tip. In fact, my "basic packages, customize later"-type install from DVD did not install the following packages from the mentioned list: gcc-c++ libstdc++-devel redhat-rpm-config After I have installed these, everything now works perfectly. |
![]() |
| Thread Tools | |
| Display Modes | |
| |