On Mon, Nov 9, 2015 at 4:56 PM, Hiep Pham <hieppso194@gmail.com> wrote:
>
> Dear sir.
> I have some troubles with the connection between C and Postgresql. My
compile command reported that it can't find libqp-fe.h. i read your
document but i don't know h=C6=A1 to compile this command line cc -c
-I/usr/local/pgsql/include testprog.c. Help me pls
This is not really a bug report, but if you have installed development
files for libpq, postgres client library, and verified that libpq-fe.h
indeed can be found at /usr/local/pgsql/include then it should work.
On Debian or a derivative system you should install package libpq-dev:
sudo apt-get isnstall libpq-dev
This installs the header files in the following location:
/usr/include/postgresql
--
Alex