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

Michael Jerris mike at jerris.com
Wed Jun 11 16:27:46 MSD 2014


https://confluence.freeswitch.org/display/FREESWITCH/Reporting+Bugs

On Jun 11, 2014, at 12:45 AM, Victor Chukalovskiy <victor.chukalovskiy at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140611/6e1ada91/attachment.html 


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