<div>Hrm. Didn't seem to help.</div><div><br></div><div>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.</div>
<div><br></div><div>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.</div>
<div><br></div><div>I'm using the following flags for slony's ./configure script:</div><div>--prefix=/usr/local/pgsql/ --with-pgbindir=/usr/local/pgsql/bin/ --with-pglibdir=/usr/local/pgsql/lib/</div><div><br></div>
<div>Do I need anything more than that?<br clear="all"><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse;color:rgb(136, 136, 136)">--- <br>===========================<br>Samuel Nelson<br>
Consistent State<br>
<a href="http://www.consistentstate.com" style="color:rgb(42, 93, 176)" target="_blank">www.consistentstate.com</a><br>303-955-0509<br>===========================</span><br>
<br><br><div class="gmail_quote">On Mon, Jul 11, 2011 at 3:40 PM, Steve Singer <span dir="ltr"><<a href="mailto:ssinger@ca.afilias.info">ssinger@ca.afilias.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 11-07-11 05:22 PM, Sam Nelson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We're trying to upgrade a Slony instance from 1.2.x to 2.0.6 on a<br>
postgres 8.3.11 instance and in the process of configuring the new slony<br>
install, the configure script errors out saying that thread safety isn't<br>
enabled.<br>
<br>
</blockquote>
<br></div>
Verify which libpq slony/configure if finding.<br>
<br>
If you have libpq installed somewhere without thread-safety it is possible that configure if finding that one instead of the one you compiled.<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
I went and re-configured postgres, using the --enable-thread-safety<br>
flag, then ran make and make install. I then restarted the postgres<br>
instance with pg_ctl -D <dir> restart -m fast. The slony config script<br>
still complained about thready safety not being enabled<br>
<br>
My questions:<br>
<br></div>
1. Should this have worked?<br>
1. If not, which steps did I miss? Re-initializing the cluster?<br>
2. Does anyone know whether or not the RPMs and other various<div class="im"><br>
binaries are compiled with thread safety enabled?<br>
<br>
---<br>
===========================<br>
Samuel Nelson<br>
Consistent State<br>
</div><a href="http://www.consistentstate.com" target="_blank">www.consistentstate.com</a> <<a href="http://www.consistentstate.com" target="_blank">http://www.consistentstate.<u></u>com</a>><br>
<a href="tel:303-955-0509" value="+13039550509" target="_blank">303-955-0509</a><br>
===========================<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Slony1-general mailing list<br>
<a href="mailto:Slony1-general@lists.slony.info" target="_blank">Slony1-general@lists.slony.<u></u>info</a><br>
<a href="http://lists.slony.info/mailman/listinfo/slony1-general" target="_blank">http://lists.slony.info/<u></u>mailman/listinfo/slony1-<u></u>general</a><br>
</blockquote>
<br>
</blockquote></div><br></div>