pg.ddx.io pgsql-interfaces@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Trouble compiling C++ programs: libpq++ error in Red Hat v9 2+ messages / 2 participants [nested] [flat]
* Trouble compiling C++ programs: libpq++ error in Red Hat v9 @ 2004-02-12 01:54 Mike S. Nowostawsky <mikenowo@sympatico.ca> 2004-02-12 14:32 ` Re: Trouble compiling C++ programs: libpq++ error in Red Hat v9 Jeroen T. Vermeulen <jtv@xs4all.nl> 0 siblings, 1 reply; 2+ messages in thread From: Mike S. Nowostawsky @ 2004-02-12 01:54 UTC (permalink / raw) To: pgsql-interfaces 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. My compile statement is (in a script): c++ -o ../cgi-bin/$1.cgi -I/usr/include/libpq -lpq++ $1.c++ cgi.o HTMLstream.o The include statement in the code is: #include <pgsql/libpq++.h> How can I get this to compile now in RH9? Is there a replacement for the old libpq++ libs I can point to? Thx! Mike. ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Trouble compiling C++ programs: libpq++ error in Red Hat v9 2004-02-12 01:54 Trouble compiling C++ programs: libpq++ error in Red Hat v9 Mike S. Nowostawsky <mikenowo@sympatico.ca> @ 2004-02-12 14:32 ` Jeroen T. Vermeulen <jtv@xs4all.nl> 0 siblings, 0 replies; 2+ messages in thread From: Jeroen T. Vermeulen @ 2004-02-12 14:32 UTC (permalink / raw) To: Mike S. Nowostawsky <mikenowo@sympatico.ca>; +Cc: pgsql-interfaces 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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-02-12 14:32 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2004-02-12 01:54 Trouble compiling C++ programs: libpq++ error in Red Hat v9 Mike S. Nowostawsky <mikenowo@sympatico.ca> 2004-02-12 14:32 ` Jeroen T. Vermeulen <jtv@xs4all.nl>
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