https://confluence.freeswitch.org/display/FREESWITCH/Reporting+Bugs On Jun 11, 2014, at 12:45 AM, Victor Chukalovskiy <victor.chukalovskiy@gmail.com> wrote:
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