TLSV1_method is not used inside db_postgres, so it is a dependency of pg library. Do you have the tool pg_config installed in your system?

Cheers,
Daniel

On 8/2/12 2:33 AM, Akan wrote:
I had to upgrade to the lastest version of Postgres to get past this error but then ran into the problem of "undefined symbol TLSv1_method"

Thanks

Nathaniel
On 8/1/2012 3:00 PM, Daniel-Constantin Mierla wrote:
Hello,

can you paste here the output of following command executed in the db_postgres module directory:

make Q=0

First run 'make proper' in the same directory. I want to see the compile flags and linked libs used for your system.

Cheers,
Daniel

On 8/1/12 5:33 PM, Andrew O. Zhukov wrote:
The same trouble with:
completely updated Centos 5
the last Kamailio RPM from
http://download.opensuse.org/repositories/home:/kamailio:/telephony/RedHat_RHEL-5/
and
postgresql-libs.x86_64.8.1.23-5.el5_8

several month ago I try
postgresql84-libs.x86_64
with the same result.

It's not possible to use Kamailio RPM with postgres backend. Need to assemble it manually.


Bruno Bresciani wrote:
> Hi,
>
> I configure the Kamailio 3.1.2 with postgres but I cann't start. In the
> log file is generated the following error:
>
> //
>
> ERROR: load_module: could not open module
> </home2/local/kamailio/lib/kamailio/modules/db_
> postgres.so>: /home2/local/kamailio/lib/kamailio/modules/db_postgres.so:
> undefined symbol: PQdescribePrepared

Have you built Kamailio yourself? Looks like db_postgres.so can not find the postgresql libraries, or it was built with a different library version.

Maybe ldd can give you some details:

   ldd /home2/local/kamailio/lib/kamailio/modules/db_postgres.so

regards
Klaus


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - 
http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - 
http://asipto.com/u/kpw


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to