<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi,<br>
<br>
and I assume you also locally compiled the postgres module, right
?<br>
<br>
If you do in the directory with the opensips sources:<br>
<br>
(cd modules/db_postgres ; make proper) ; make modules
module=modules/db_postgres<br>
<br>
could you post the output here ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
</pre>
<div class="moz-cite-prefix">On 4/20/20 7:24 PM, Nayani Nikeshala
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1950080153.2366807.1587399844986@mail.yahoo.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="ydp84241c42yahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;">
<div dir="ltr" data-setdir="false">Hello,</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">OpenSIPS was compiled by me
and I followed the <span><a class="ydpce1c1bdwikilink"
title="Tutorials-GettingStarted"
href="https://www.opensips.org/Documentation/Tutorials-GettingStarted"
style="font-family: Trebuchet MS, sans-serif, Verdana,
Arial; color: rgb(24, 86, 98); font-weight: bold;
text-decoration-line: underline; width: 100px; font-size:
13.008px;" rel="nofollow" target="_blank"
moz-do-not-send="true">OpenSIPS Installation Webinar</a> tutorial. </span></div>
<div dir="ltr" data-setdir="false"><span><br>
</span></div>
<div dir="ltr" data-setdir="false"><span>Thanks!</span></div>
<div><br>
</div>
</div>
<div id="yahoo_quoted_8250963257" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial,
sans-serif;font-size:13px;color:#26282a;">
<div> On Monday, April 20, 2020, 08:04:10 PM GMT+5:30,
Bogdan-Andrei Iancu <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a> wrote: </div>
<div><br>
</div>
<div><br>
</div>
<div>
<div id="yiv0585862259">
<div> <tt>Hi,<br clear="none">
<br clear="none">
Is OpenSIPS compiled by you or installed from packages
(if yes, what is the repo url)?<br clear="none">
<br clear="none">
Regards,<br clear="none">
</tt>
<pre class="yiv0585862259moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a rel="nofollow" shape="rect" class="yiv0585862259moz-txt-link-freetext" target="_blank" href="https://www.opensips-solutions.com" moz-do-not-send="true">https://www.opensips-solutions.com</a>
</pre>
<div class="yiv0585862259yqt6904689872"
id="yiv0585862259yqtfd17554">
<div class="yiv0585862259moz-cite-prefix">On 4/19/20
11:50 PM, Nayani Nikeshala via Users wrote:<br
clear="none">
</div>
<blockquote type="cite"> </blockquote>
</div>
</div>
<div class="yiv0585862259yqt6904689872"
id="yiv0585862259yqtfd54601">
<div>
<div class="yiv0585862259ydp5a0f02bdyahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;">
<div><span style="color:rgb(38, 40,
42);font-size:13px;">Hello,</span><br
clear="none">
</div>
</div>
<div class="yiv0585862259ydp35fcc8a5yahoo_quoted"
id="yiv0585862259ydp35fcc8a5yahoo_quoted_7442983449">
<div style="font-family:'Helvetica Neue', Helvetica,
Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">I'm trying to install <span>opensips-2.4.7
with <span>psql -8.4.20 on a Centos-6
platform. I can connect to psql DB as
below.</span></span></div>
<div dir="ltr"><span><span><br clear="none">
</span></span></div>
<div dir="ltr"><span> </span>
<div>
<div>[root@SIPserver ~]# psql -h localhost
-U opensips -d opensips</div>
<div>psql (8.4.20)</div>
<div>Type "help" for help.</div>
<div><br clear="none">
</div>
<div>opensips=> </div>
<div><br clear="none">
</div>
</div>
</div>
<div dir="ltr"><span><span>When I try to start
OpenSIP as below, it gives me the
following error. </span></span></div>
<div dir="ltr"><span><span><br clear="none">
</span></span></div>
<div dir="ltr"><span> </span>
<div>
<div>[root@SIPserver ~]# opensipsctl start</div>
<div><br clear="none">
</div>
<div>INFO: Starting OpenSIPS :</div>
<div><br clear="none">
</div>
<div>ERROR: PID file /var/run/opensips.pid
does not exist -- OpenSIPS start failed</div>
<div>[root@SIPserver ~]#</div>
<div><br clear="none">
</div>
</div>
<div><br clear="none">
</div>
<div dir="ltr"> <span>/var/log/opensips.log
shows the below error. </span><br
clear="none">
</div>
<div dir="ltr"><span><br clear="none">
</span></div>
<div dir="ltr">
<div>
<div>Apr 20 01:31:20 SIPserver opensips:
ERROR:core:sr_load_module: could not
open module
</usr/local//lib/opensips/modules/db_postgres.so>:
/usr/local//lib/opensips/modules/db_postgres.so: undefined symbol:
PQconnectdbParams</div>
<div>Apr 20 01:31:20 SIPserver opensips:
ERROR:core:load_module: failed to load
module</div>
<div>Apr 20 01:31:20 SIPserver opensips:
CRITICAL:core:yyerror: parse error in
config file
/usr/local//etc/opensips/opensips.cfg,
line 89, column 13-14: failed to load
module db_postgres.so#012</div>
<div><br clear="none">
</div>
</div>
<div dir="ltr">I noted that <span><span
style="color:rgb(0, 0,
0);font-family:Helvetica Neue,
Helvetica, Arial,
sans-serif;font-size:16px;">PQconnectdbParams
is available from psql-9 onwards and
could not figure out, what does this
error mean. </span></span></div>
<div dir="ltr"><span><span
style="color:rgb(0, 0,
0);font-family:Helvetica Neue,
Helvetica, Arial,
sans-serif;font-size:16px;"><br
clear="none">
</span></span></div>
<div dir="ltr"><span><span
style="color:rgb(0, 0,
0);font-family:Helvetica Neue,
Helvetica, Arial,
sans-serif;font-size:16px;">Could
someone assist me please. </span></span></div>
<div dir="ltr"><span><span
style="color:rgb(0, 0,
0);font-family:Helvetica Neue,
Helvetica, Arial,
sans-serif;font-size:16px;"><br
clear="none">
</span></span></div>
<div dir="ltr"><span><span
style="color:rgb(0, 0,
0);font-family:Helvetica Neue,
Helvetica, Arial,
sans-serif;font-size:16px;">Thanks!</span></span></div>
</div>
</div>
</div>
</div>
</div>
<br clear="none">
<fieldset class="yiv0585862259mimeAttachmentHeader"></fieldset>
<pre class="yiv0585862259moz-quote-pre">_______________________________________________
Users mailing list
<a rel="nofollow" shape="rect" class="yiv0585862259moz-txt-link-abbreviated" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org" moz-do-not-send="true">Users@lists.opensips.org</a>
<a rel="nofollow" shape="rect" class="yiv0585862259moz-txt-link-freetext" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
<br clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>