[Pgpool-general] The "libpq is not installed or libpq is old" problem

Gary Fu gfu at saicmodis.com
Fri Dec 7 22:30:21 UTC 2007


Hi,

I got the same error when I tried to run the following configure command 
on pgpool-II version 2.0.1:
/configure --prefix=/home/gfu/pgpool2_etc-2.0.1 --with-pgsql=/usr/lib

:21pm 148 gfu at nppdist:/> ll /usr/lib/libpq*
lrwxrwxrwx 1 root root     12 Feb  8  2007 /usr/lib/libpq.so.4 -> 
libpq.so.4.0*
-rwxr-xr-x 1 root root 115184 Feb  6  2007 /usr/lib/libpq.so.4.0*
lrwxrwxrwx 1 root root     12 Sep 28 09:00 /usr/lib/libpq.so.5 -> 
libpq.so.5.0*
-rwxr-xr-x 1 root root 119912 Sep 20 16:49 /usr/lib/libpq.so.5.0*

I don't find 'libpq.a' in any place, is it required for this purpose ?

By the way, we have postgresql 8.2.5 installed (not by me) and I tried 
to build pgpool-I 3.4.1 without problem.
5:23pm 152 gfu at nppdist:/> pg_ctl -V
pg_ctl (PostgreSQL) 8.2.5

Any help or suggestion ?

Thanks,
Gary



More information about the Pgpool-general mailing list