When compiling the grass source, the configuration stops with the
following messages:
************************************
........
checking for location of PostgreSQL includes... /usr/local/pgsql/include
checking for libpq-fe.h... yes
checking for location of PostgreSQL library...
checking for PQsetdbLogin in -lpq... no
checking for PQsetdbLogin in -lpq... no
checking for PQsetdbLogin in -lpq... no
checking for PQsetdbLogin in -lpq... no
configure: error: *** Unable to locate PostgreSQL library.
************************************
I've already installed postgresql-7.4.6 but the library PQsetdbLogin is
not in my system. How can I install it?
When compiling the grass source, the configuration stops with the
following messages:
************************************
........
checking for location of PostgreSQL includes... /usr/local/pgsql/include
checking for libpq-fe.h... yes
checking for location of PostgreSQL library...
checking for PQsetdbLogin in -lpq... no
configure: error: *** Unable to locate PostgreSQL library.
************************************
I've already installed postgresql-7.4.6 but the library PQsetdbLogin is
not in my system. How can I install it?
PQsetdbLogin is a function in the library the configure script is trying to call from a test program, to check everything is working with the library. You need to look near the end of config.log to see what the actual problem was.