[R] Re: [GRASSLIST:3] libpq-fe.h ???

Glynn Clements
2003-05-14T23:38:56Z

Miha STAUT wrote:

> The PostgreSQL_7.2.1 Users guide states: "Frontend programs that use
libpq
> must include the header file libpq-fe.h and must link with the libpq
> library." Is Libpq a package that can be downloaded and how should I
create
> this header and make a link to it?
>
> I use R 1.6.2.1 and PostgreSQL 7.2 with RedHat 7.3.

You need the appropriate -devel package. E.g for RedHat 6.2,
libpq-fe.h is in the "postgresql-devel" RPM.

--
Glynn Clements <glynn.clements at virgin.net>