configure fails on 1.4 with enable-core-pgsql-support and custom PG location
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
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
Thanks, was not sure if jira or not. https://jira.freeswitch.org/browse/FS-6582 On 14-06-11 08:27 AM, Michael Jerris wrote:
https://confluence.freeswitch.org/display/FREESWITCH/Reporting+Bugs
On Jun 11, 2014, at 12:45 AM, Victor Chukalovskiy <victor.chukalovskiy@gmail.com <mailto: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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Michael Jerris
-
Victor Chukalovskiy