[SR-Users] postgres in kamailio 3.3.0-9.1

Daniel-Constantin Mierla miconda at gmail.com
Wed Aug 1 22:00:14 CEST 2012


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 at 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




More information about the sr-users mailing list