Well, I checked the output of that command and it didn&#39;t look right, so I removed all postgres directories (everything except the postgres cluster) in /usr/local/pgsql and deleted the old postgresql install directory, extracted the tarball again, re-configured postgres, and tried again.  This time, I got what I was expecting from pg_config:<div>

<br></div><div><div>$ /usr/local/pgsql/bin/pg_config --configure</div><div>&#39;--with-python&#39; &#39;--with-perl&#39; &#39;--enable-thread-safety&#39; &#39;--prefix=/usr/local/pgsql&#39;</div><div><br></div><div>However, even after doing the above and adding --with-pgconfigdir=/usr/local/pgsql/bin, Slony refuses to configure.  It still comes back saying configure: error: PQisthreadsafe test failed - PostgreSQL needs to be compiled with --enable-thread-safety</div>

<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 Tue, Jul 12, 2011 at 2:48 AM, Jan Wieck <span dir="ltr">&lt;<a href="mailto:JanWieck@yahoo.com">JanWieck@yahoo.com</a>&gt;</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 7/11/2011 6:13 PM, Sam Nelson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hrm.  Didn&#39;t seem to help.<br>
<br>
I did have a few different libpq&#39;s on the testing VMs we have set up, so<br>
I removed them all.  Now, find / -name &#39;*libpq*&#39; (as root) only finds<br>
the instance that has been installed with thread safety.<br>
<br>
I even tried using --enable-thread-safety-force (and then, as per<br>
postres&#39;s configure instructions, testing for thread safety with the<br>
binary in src/test/thread/, which came back saying the system was thread<br>
safe).  Still no luck.<br>
<br>
I&#39;m using the following flags for slony&#39;s ./configure script:<br>
--prefix=/usr/local/pgsql/ --with-pgbindir=/usr/local/<u></u>pgsql/bin/<br>
--with-pglibdir=/usr/local/<u></u>pgsql/lib/<br>
<br>
Do I need anything more than that?<br>
</blockquote>
<br></div>
What is the output of<br>
<br>
    /usr/local/pgsql/bin/pg_config --configure<br>
<br>
and did you try<br>
<br>
    ./configure --with-pgconfigdir=/usr/local/<u></u>pgsql/bin<br>
<br>
<br>
Jan<br><font color="#888888">
<br>
-- <br>
Anyone who trades liberty for security deserves neither<br>
liberty nor security. -- Benjamin Franklin<br>
</font></blockquote></div><br></div>