> I get the following error when I use --with-pgsql=/var/lib/pgsql or
> --with-pgsql=/usr/include :
>
> <snip>
> checking for PostgreSQL support... yes
> configure: error: Cannot find libpq.so. Please specify correct PostgreSQL
> installation path.
configure cannot find libpq.so in the directory /var/lib/pgsql or
/usr/include.
>
> libpq.so comes with postgresql-devel and that package is installed...
>
> What should I do to solve it?
find out where is the location of libpq.so and specify the location in
--with-pgsql option while configure
Regards,
--
Nasir Simbolon