According to the FS wiki, on CentOS 6 you need to run <span style="font-family:sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)">./configure --without-libcurl --without-pgsql. See if that helps.</span><div>
<font face="sans-serif"><span style="line-height:19px"><br></span></font></div><div><h4 style="background-image:none;background-color:rgb(255,255,255);margin-top:0px;margin-right:0px;margin-bottom:0.3em;margin-left:0px;padding-top:0.5em;padding-bottom:0.17em;border-bottom-width:initial;border-bottom-style:none;border-bottom-color:initial;font-size:15px;font-family:sans-serif;line-height:19px">
<span class="mw-headline">Release(es) 6 and Later</span></h4><p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">
...</p><p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">Also, when using release 6 and later, make sure to configure with &quot;./configure --without-libcurl --without-pgsql&quot;, this is to make sure that FreeSWITCH uses it&#39;s own curl library, instead of the system provided, and that it doesn&#39;t try to use the system provided postgresql libs. If using the system provided versions linking errors will occur. Hopefully this will be auto detected in a near future. Related Jira issues are: FS-3384, FS-3630 and FS-3393.</p>
<p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></p><p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></p><p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></p><div><font face="sans-serif"><span style="line-height:19px"><br>
</span></font></div><div><font face="sans-serif"><span style="line-height:19px"><br></span></font></div><div><font face="sans-serif"><span style="line-height:19px"><br></span></font><br><div class="gmail_quote">2012/3/21 Patrick Lists <span dir="ltr">&lt;<a href="mailto:freeswitch-list@puzzled.xs4all.nl">freeswitch-list@puzzled.xs4all.nl</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 21-03-12 13:42, Zenny wrote:<br>
&gt;&gt; I don&#39;t know which distro you use but that directory (/usr/pgsql-9.1)<br>
&gt;&gt; looks odd. If you use CentOS or RHEL why don&#39;t you just remove all stock<br>
&gt;&gt; postgresql RPMs from your box and install a decent PostgreSQL 9.1 RPM<br>
&gt;&gt; via <a href="http://yum.postgresql.org/" target="_blank">http://yum.postgresql.org/</a><br>
&gt;<br>
&gt; I am using CentOS6. I installed the RPMs directly downloading the repos from:<br>
&gt; rpm -ivh <a href="http://yum.postgresql.org/9.1/redhat/rhel-6-x86:64/pgdg-centos91-9.1-4.noarch.rpm" target="_blank">http://yum.postgresql.org/9.1/redhat/rhel-6-x86:64/pgdg-centos91-9.1-4.noarch.rpm</a><br>
<br>
</div>I just checked the postgresql-9.1 server RPM and you are right. Wow...<br>
The PostgreSQL packager could read up on the RPM Packaging Guide Lines<br>
and the FHS. I guess they packaged it so that it does not interfere with<br>
the RHEL/CentOS provided PostgreSQL RPMs but putting everything in a<br>
non-standard location clearly causes challenges as you are experiencing<br>
right now. I&#39;m afraid I can&#39;t be of any help.<br>
<div class="HOEnZb"><div class="h5"><br>
Regards,<br>
Patrick<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div>