Sam Nelson samn at consistentstate.com
Mon Jul 11 15:13:13 PDT 2011
Hrm.  Didn't seem to help.

I did have a few different libpq's on the testing VMs we have set up, so I
removed them all.  Now, find / -name '*libpq*' (as root) only finds the
instance that has been installed with thread safety.

I even tried using --enable-thread-safety-force (and then, as per postres's
configure instructions, testing for thread safety with the binary in
src/test/thread/, which came back saying the system was thread safe).  Still
no luck.

I'm using the following flags for slony's ./configure script:
--prefix=/usr/local/pgsql/ --with-pgbindir=/usr/local/pgsql/bin/
--with-pglibdir=/usr/local/pgsql/lib/

Do I need anything more than that?
---
===========================
Samuel Nelson
Consistent State
www.consistentstate.com
303-955-0509
===========================


On Mon, Jul 11, 2011 at 3:40 PM, Steve Singer <ssinger at ca.afilias.info>wrote:

> On 11-07-11 05:22 PM, Sam Nelson wrote:
>
>> We're trying to upgrade a Slony instance from 1.2.x to 2.0.6 on a
>> postgres 8.3.11 instance and in the process of configuring the new slony
>> install, the configure script errors out saying that thread safety isn't
>> enabled.
>>
>>
> Verify which libpq slony/configure if finding.
>
> If you have libpq installed somewhere without thread-safety it is possible
> that configure if finding that one instead of the one you compiled.
>
>
>
>  I went and re-configured postgres, using the --enable-thread-safety
>> flag, then ran make and make install.  I then restarted the postgres
>> instance with pg_ctl -D <dir> restart -m fast.  The slony config script
>> still complained about thready safety not being enabled
>>
>> My questions:
>>
>>   1. Should this have worked?
>>         1. If not, which steps did I miss?  Re-initializing the cluster?
>>   2. Does anyone know whether or not the RPMs and other various
>>
>>      binaries are compiled with thread safety enabled?
>>
>> ---
>> ===========================
>> Samuel Nelson
>> Consistent State
>> www.consistentstate.com <http://www.consistentstate.**com<http://www.consistentstate.com>
>> >
>> 303-955-0509
>> ===========================
>>
>>
>>
>> ______________________________**_________________
>> Slony1-general mailing list
>> Slony1-general at lists.slony.**info <Slony1-general at lists.slony.info>
>> http://lists.slony.info/**mailman/listinfo/slony1-**general<http://lists.slony.info/mailman/listinfo/slony1-general>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-general/attachments/20110711/d3be694d/attachment.htm 


More information about the Slony1-general mailing list