Gavin Henry
2007-May-05 14:30 UTC
[asterisk-users] Asterisk 1.4.4 and Custom Postgres 8.2.4 (checking for PQexec in -lpq... no)
Dear All, Why does my configure fail like so: checking for pg_config... /usr/local/pgsql/8.2.4/bin/pg_config checking for PQexec in -lpq... no configure: *** configure: *** The PostgreSQL installation on this system appears to be broken. configure: *** Either correct the installation, or run configure configure: *** including --without-postgres Configure options are: env CC=/usr/local/bin/gcc ./configure --with-ssl=/usr/local/ssl --with-postgres=/usr/local/pgsql/8.2.4 configure has found pg_config, what more does it need? I even tried: env CC=/usr/local/bin/gcc CPPFLAGS="-I/usr/local/pgsql/8.2.4/include" \ LDFLAGS="-L/usr/local/pgsql/8.2.4/lib" \ LD_LIBRARY_PATH="/usr/local/pgsql/8.2.4/lib" ./configure --with-ssl=/usr/local/ssl --with-postgres=/usr/local/pgsql/8.2.4 Thanks, Gavin.
Bruce McAlister
2007-May-08 03:22 UTC
[asterisk-users] Asterisk 1.4.4 and Custom Postgres 8.2.4 (checkingfor PQexec in -lpq... no)
Hi Gavin, I don't know if this will help, but can you check to see if you have libtool installed? I had a similar issue with unixodbc, and once I installed libtool, it rectified the issue. Once libtool is installed, re-run configure and it should hopefully work. Thanks Bruce -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Gavin Henry Sent: 05 May 2007 22:31 To: asterisk-users@lists.digium.com Subject: [asterisk-users] Asterisk 1.4.4 and Custom Postgres 8.2.4 (checkingfor PQexec in -lpq... no) Dear All, Why does my configure fail like so: checking for pg_config... /usr/local/pgsql/8.2.4/bin/pg_config checking for PQexec in -lpq... no configure: *** configure: *** The PostgreSQL installation on this system appears to be broken. configure: *** Either correct the installation, or run configure configure: *** including --without-postgres Configure options are: env CC=/usr/local/bin/gcc ./configure --with-ssl=/usr/local/ssl --with-postgres=/usr/local/pgsql/8.2.4 configure has found pg_config, what more does it need? I even tried: env CC=/usr/local/bin/gcc CPPFLAGS="-I/usr/local/pgsql/8.2.4/include" \ LDFLAGS="-L/usr/local/pgsql/8.2.4/lib" \ LD_LIBRARY_PATH="/usr/local/pgsql/8.2.4/lib" ./configure --with-ssl=/usr/local/ssl --with-postgres=/usr/local/pgsql/8.2.4 Thanks, Gavin. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users