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
Why this error is generated?
Best Regards
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