[Pgpool-general] trouble configuring pgpool-II

Tatsuo Ishii ishii at sraoss.co.jp
Fri Apr 10 00:27:44 UTC 2009


> Hello,
> I wasn't sure what forum to post this to so finally decided to email you
> directly.  I hope you don't mind.  Feel free to post it or let me know where
> to do so if you prefer to answer this in a forum.

pgpool-general is the perfect place for this kind of questions.

> I'm having trouble running configure.  It says that "libpq is not installed
> or libpq is old", although libpq5 seems to be installed.

Do you have pg_config command in your command search path?  If so, you
do not need to specify --with-pgsql nor --with-pgsql-libdir. Just
./configure should work.

Or something like:

PGCONFIG=/path/to/pgconfig/pg_config ./configure

Should work as well.
--
Tatsuo Ishii
SRA OSS, Inc. Japan

> I'm using Postgresql 8.3.5, and pgpool-II-2.2.  Here are the details of what
> was attempted:
> 
> root at sj-prod-db3:/tmp/pgpool-II-2.2# psql --version
> psql (PostgreSQL) 8.3.5
> 
> root at sj-prod-db3:/# cd /tmp
> root at sj-prod-db3:/tmp# apt-get install build-essential
> root at sj-prod-db3:/tmp# wget
> http://pgfoundry.org/frs/download.php/2108/pgpool-II-2.2.tar.gz
> root at sj-prod-db3:/tmp# tar -xzf pgpool-II-2.2.tar.gz
> root at sj-prod-db3:/tmp# cd /tmp/pgpool-II-2.2
> 
> root at sj-prod-db2:/tmp/pgpool-II-2.2# ls /usr/lib/libpq*
> /usr/lib/libpq.so.5  /usr/lib/libpq.so.5.1
> 
> *Here is the problem:  *
> 
> root at sj-prod-db3:/tmp# ./configure  --with-pgsql=/usr/lib/
> --with-pgsql-libdir=/usr/lib64/
> 
> [...stuff deleted...]
> configure: error: libpq is not installed or libpq is old
> 
> Thanks in advance,
> -- 
> - Mark Plutowski


More information about the Pgpool-general mailing list