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

Поиск
Список
Период
Сортировка
От Mike S. Nowostawsky
Тема Trouble compiling C++ programs: libpq++ error in Red Hat v9
Дата
Msg-id 000f01c3f10b$37f8c390$6400a8c0@stryder
обсуждение исходный текст
Ответы Re: Trouble compiling C++ programs: libpq++ error in Red Hat v9  ("Jeroen T. Vermeulen" <jtv@xs4all.nl>)
Список 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.
 

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: L J Bayuk
Дата:
Сообщение: Re: Can not connect with pgin.tcl
Следующее
От: mike
Дата:
Сообщение: confused newbie (to pg not db's)