[Freeswitch-users] configure fails on 1.4 with enable-core-pgsql-support and custom PG location

Victor Chukalovskiy victor.chukalovskiy at gmail.com
Wed Jun 11 04:45:29 MSD 2014


Hi,

Getting the following issues with libpq when trying to ./configure 
--enable-core-pgsql-support:
....
checking for pg_config... /opt/PostgreSQL/9.2/bin/pg_config
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for PostgreSQL libraries via pg_config... -L/opt/PostgreSQL/9.2/lib
checking for PQgetvalue in -lpq... no
configure: error: no usable libpq; please install PostgreSQL devel 
package or equivalent

This does not help: 
https://wiki.freeswitch.org/wiki/PostgreSQL_in_the_core#Configure

What helps is to put "/opt/PostgreSQL/9.2/lib" into 
/etc/ld.so.conf.d/pg.conf BUT this creates issues with other libraries 
for programs other than freeswitch. Any alternative solution?

Background: CentOS 6.4; PostgreSQL 9.2 from Enterprise DB; FS 1.4.4

Thanks for your help!
-Victor






Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list