Trouble compiling C++ programs: libpq++ error in Red Hat v9

From: "Mike S(dot) Nowostawsky" <mikenowo(at)sympatico(dot)ca>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Trouble compiling C++ programs: libpq++ error in Red Hat v9
Date: 2004-02-12 01:54:57
Message-ID: 000f01c3f10b$37f8c390$6400a8c0@stryder
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message mike 2004-02-12 14:15:24 confused newbie (to pg not db's)
Previous Message L J Bayuk 2004-02-11 22:55:24 Re: Can not connect with pgin.tcl