Thread: Can't compile C++ programs from RH 7.1 in RH9

Can't compile C++ programs from RH 7.1 in RH9

From
"Mike S. Nowostawsky"
Date:
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.




Re: Can't compile C++ programs from RH 7.1 in RH9

From
Patrick Welche
Date:
On Mon, Feb 09, 2004 at 04:46:31PM -0500, Mike S. Nowostawsky wrote:
> 
> How can I get this to compile now in RH9? Is there a replacement for the 
> old libpq++ libs I can point to? Thx!

Have a look at http://gborg.postgresql.org/
There you should find the old libpq++, and the new libpqxx.


Cheers,

Patrick