From: Jeroen T. Vermeulen <jtv@xs4all.nl>
To: Mike S. Nowostawsky <mikenowo@sympatico.ca>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Trouble compiling C++ programs: libpq++ error in Red Hat v9
Date: Thu, 12 Feb 2004 15:32:08 +0100
Message-ID: <20040212143208.GT94664@xs4all.nl> (raw)
In-Reply-To: <000f01c3f10b$37f8c390$6400a8c0@stryder>
References: <000f01c3f10b$37f8c390$6400a8c0@stryder>
On Wed, Feb 11, 2004 at 08:54:57PM -0500, Mike S. Nowostawsky wrote:
> I am having trouble compiling programs (that I created back in Red Hat v7.1)
> because of the libpq++ libs (they don't exist in RH9). I tried finding them
> on the net but can't install them because of the various dependency
> conflicts with RH9.
Package dependencies can sometimes be overly strict. You may be able to
get away with building your own libpq++ from the latest sources (see gborg)
and installing that version.
> How can I get this to compile now in RH9? Is there a replacement for the old
> libpq++ libs I can point to? Thx!
There is libpqxx, but it's a completely new API--not a drop-in replacement
for libpq++. It's more flexible than libpq++ in most ways, so porting your
code shouldn't be too difficult if it's relatively straightforward stuff.
You can find libpqxx at http://pqxx.tk/
Jeroen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: jtv@xs4all.nl, mikenowo@sympatico.ca
Subject: Re: Trouble compiling C++ programs: libpq++ error in Red Hat v9
In-Reply-To: <20040212143208.GT94664@xs4all.nl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox