[asterisk-users] Asterisk 1.4.4 and Custom Postgres 8.2.4 (checking for PQexec in -lpq... no)

Gavin Henry gavin.henry at gmail.com
Sat May 5 14:30:30 MST 2007


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.


More information about the asterisk-users mailing list