Build the latest PgPool-II on Debian Etch

After having build PgPool-II on Red Hat Enterprise Linux 5.5 without any problem, I tried to build it on a fresh Debian Etch. The catch is that I did not want to install PostgreSQL 9.0, but just extract it from the binary packages provided by Entreprisedb (with option --extract-only 1).

Whatever options I passed to ./configure, it resulted in the same error:

checking for PQexecPrepared in -lpq... no
configure: error: libpq is not installed or libpq is old

Here is the answer: the binary package contains the libpq with the name (the RHEL name) when pgpool is looking on Debian. The same applies to libssl. So a simple

ln -s
ln -s

before your ./configure will solve it!