[GRASSLIST:2599] Re: libpq_fe.h error in grass5.7

Richard Greenwood rich at greenwoodmap.com
Fri Feb 13 11:27:29 EST 2004


hamdi ines wrote:

>  hello,
> Now i tried:
> 
>>CFLAGS="-g -Wall" ./configure
> 
> --with-grass50=/home/grass/
> --with-postgres-includes=/usr/local/pgsql/include/
> 
> but i get a new error:
> 
> checking whether to use PostgreSQL... yes
> 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.
> 
> WHAT CAN I INDICATE THE LIBRARY OF POSTGRES?

--with-postgres-libs=/lib (with appropriate path for your system).

Rich


-- 
Richard Greenwood
www.greenwoodmap.com




More information about the grass-user mailing list