Christopher Browne cbbrowne
Wed Jun 8 18:03:36 PDT 2005
John Liu wrote:

>I have two questions -
>1. on AIX 5.1 running postgresql7.4, the production server compiled
>without --enable-thread-safety, can I installed slony-I without
>recompiling the installed postgresql on the production server?
>  
>
The issue is with libpq, so it would seem plausible that you could just
reinstall libpq with --enable-thread-safety.

Down that road of "mixtures of binaries", madness lies, so I wouldn't
recommend trying to get away with just reinstalling libpq...

>2. I tried to reconfigure postgresql7.4 on AIX 5.1 with
>--enable-thread-safety, I got error -
>checking for pthread.h... yes
>configure: error:
>Cannot enable threads on your platform.
>Please report your platform threading info to the PostgreSQL mailing
>lists
>so it can be added to the next release.  Report all compile flags, link
>flags,
>functions, or libraries required for threading support.
>See the comment at the top of src/port/thread.c for more information.
>
>I tried different options without luck, my option is -
>./configure --prefix=/syntec/stiadmin/pgsql74 --with-pgport=5555
>--with-libraries=/usr/local/lib --with-includes=/usr/local/include
>--enable-thread-safety CC=cc_r CFLAGS="-lpthreads"
>  
>
Hmm.  Is it possible that libm is missing? 

When one of our guys ran into those sorts of messages, recently, the
problem turned out to be a missing libm...


More information about the Slony1-general mailing list