libpq comes with the PostgreSQL installation, you dont have to explicitly
get it from anyware.
It is usually available in /usr/local/pgsql/lib
read the documentation for compilation/linking issues:
http://www.postgresql.org/docs/current/static/libpq-build.html
regards,
Ntinos Katsaros
----- Original Message -----
From: "Farrukh Afzal" <mfarrukhafzal@gmail.com>
To: <pgsql-interfaces@postgresql.org>
Sent: Friday, December 10, 2004 8:51 PM
Subject: [INTERFACES] How to get Libpq?
> Hello,
> i have just started working with postgres. I want ot access
> the database from c or c++. I got some help from manual. I explained
> that libpq or libpq++ is required. I am working o redhat 9. i have all
> the packages installed, but i don't have the libpq and libpq++
> installed. How can i get these libraries?please reply with a bit
> detail, as i am new to linux so need more help.
>
> FARRUKH.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster