Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group