From: | Cedar Cox <cedarc(at)visionforisrael(dot)com> |
---|---|
To: | Javier Reniz <jreniz(at)usa(dot)net> |
Cc: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: Please help with PostgreSQL |
Date: | 2001-01-10 09:36:49 |
Message-ID: | Pine.LNX.4.21.0101101133490.22479-100000@nanu.visionforisrael.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
On 9 Jan 2001, Javier Reniz wrote:
> I tried to compile the examples about Programming Interfaces (libpq, libpq++)
> from published book about postgres but it returns an error for each call to
> library "libpq-fe.h".
What error? Is it file not found?... This from a Jan 3 message:
-> make produces an error message saying "libpq-fe.h: No such file or
-> directory". I have found documentation around the Internet saying that
-> this file is required by programs using libpq.so but have not been able
-> to find where I can get this header file from!!
-
-Make sure you have the 'postgresql-devel' RPM installed, and set
-POSTGRES_INCLUDE to /usr/include/pgsql.
So, make sure you have the 'postgresql-devel' RPM installed.
> I don´t know if the problem is about enviroment variables (I programming as
> root and/or Postgres user) or is the compilation instruction (gcc -o program.c
> program.o)
I would suggest not programming as root.
-Cedar
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Stephenson | 2001-01-10 09:42:00 | Re: JDBC date problem |
Previous Message | Alexander Kulakov | 2001-01-10 08:05:40 | Re: DBD::Pg |