X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C5AC03A601A for ; Mon, 13 Dec 2004 11:22:59 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 71195-01 for ; Mon, 13 Dec 2004 11:22:47 +0000 (GMT) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by svr1.postgresql.org (Postfix) with ESMTP id 302573A6033 for ; Mon, 13 Dec 2004 11:22:48 +0000 (GMT) Received: from xs2.xs4all.nl (xs2.xs4all.nl [194.109.21.3]) by smtp-vbr7.xs4all.nl (8.12.11/8.12.11) with ESMTP id iBDBMjJ5059401; Mon, 13 Dec 2004 12:22:45 +0100 (CET) (envelope-from jtv@xs4all.nl) Received: from xs2.xs4all.nl (jtv@localhost [127.0.0.1]) by xs2.xs4all.nl (8.12.11/8.12.11) with ESMTP id iBDBMjvd019056; Mon, 13 Dec 2004 12:22:45 +0100 (CET) (envelope-from jtv@xs4all.nl) Received: (from jtv@localhost) by xs2.xs4all.nl (8.12.11/8.12.11/Submit) id iBDBMjcf019055; Mon, 13 Dec 2004 12:22:45 +0100 (CET) (envelope-from jtv) Date: Mon, 13 Dec 2004 12:22:45 +0100 From: "Jeroen T. Vermeulen" To: Farrukh Afzal Cc: pgsql-interfaces@postgresql.org Subject: Re: How to get Libpq? Message-ID: <20041213112245.GH15849@xs4all.nl> Mail-Followup-To: Farrukh Afzal , pgsql-interfaces@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200412/22 X-Sequence-Number: 5192 On Fri, Dec 10, 2004 at 11:51:29PM +0500, Farrukh Afzal wrote: > 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. RedHat itself may offer an RPM package with the libpq library and headers. Also, libpq++ is outdated. The new C++ interface is libpqxx, and has been for years. Perhaps the documentation should be fixed on this point... Jeroen