[GRASSLIST:5051] Re: PQsetdbLogin

Paul Kelly paul-grass at stjohnspoint.co.uk
Sat Dec 4 15:16:54 EST 2004


On Sat, 4 Dec 2004 edgar at hwr.arizona.edu wrote:

> 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?

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.




More information about the grass-user mailing list