Re: : Errors when compiling with Postgres 7.2.3 Libraries on RedHat 8
От | Tommi Maekitalo |
---|---|
Тема | Re: : Errors when compiling with Postgres 7.2.3 Libraries on RedHat 8 |
Дата | |
Msg-id | 200210240818.43880.t.maekitalo@epgmbh.de обсуждение исходный текст |
Список | pgsql-general |
Hi, I had 7.2.2, but just upgraded to 7.2.3. It works well there also. There must be something broken with your rpms. Tommi Am Donnerstag, 24. Oktober 2002 02:18 schrieb shey sewani: > Hello, > > I uninstalled the RPM package for postgresql-libs-7.2.3 and re-installed > the postgresql library package for postgres 7.2.2 > > The program compiles fine now and runs like expected. > > > > > Sheheryar Sewani > Houston, TX > > > > > > ----Original Message Follows---- > From: Tommi Maekitalo <t.maekitalo@epgmbh.de> > To: "shey sewani" <pakix2000@hotmail.com>, pgsql-general@postgresql.org > Subject: Re: [GENERAL] : Errors when compiling with Postgres 7.2.3 > Libraries on RedHat 8 > Date: Wed, 23 Oct 2002 10:20:24 +0200 > MIME-Version: 1.0 > Received: from mail.eckpart.de ([217.6.160.186]) by > mc1-f5.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 23 Oct > 2002 01:20:27 -0700 Received: (qmail 30866 invoked from network); 23 Oct > 2002 08:20:25 -0000 Received: from db2.eckpart.de (HELO db2) > (tommi@192.168.41.72) by cserv.eckpart.de with SMTP; 23 Oct 2002 08:20:25 > -0000 > Organization: Dr. Eckhardt + Partner GmbH > User-Agent: KMail/1.4.3 > References: <F106gKMy5KINzq6xEfh0000848b@hotmail.com> > In-Reply-To: <F106gKMy5KINzq6xEfh0000848b@hotmail.com> > Message-Id: <200210231020.25001.t.maekitalo@epgmbh.de> > Return-Path: t.maekitalo@epgmbh.de > X-OriginalArrivalTime: 23 Oct 2002 08:20:28.0062 (UTC) > FILETIME=[0B5F63E0:01C27A6D] > > Hi, > > It should work then. Maybe the library is compiled with another compiler. I > remember, that RedHat use some strange gcc-versions sometimes. > > Try this: > > ---ttt.cpp: > #include <libpq++.h> > > int main() > { > PgDatabase conn("dbname=ttt"); > } > > ---Makefile: > > INCLUDE=/usr/local/pgsql/include > LIB=/usr/local/pgsql/lib > CXXFLAGS=-I${INCLUDE} > LFLAGS=-L${LIB} > > all: ttt > > ttt: ttt.o > g++ -o ttt ${LFLAGS} ttt.o -lpq++ -lpq > > clean: > rm -f *.o ttt.o ttt > > You should maybe adjust your directories. Then we have the same > startingpoint. > > If your rpm-database is broken, you could ask the rpm-file, which you > installed with rpm -qlp postgresql-lib.rpm|grep libpg++. > > > Tommi > > > _________________________________________________________________ > Get a speedy connection with MSN Broadband. Join now! > http://resourcecenter.msn.com/access/plans/freeactivation.asp -- Dr. Eckhardt + Partner GmbH http://www.epgmbh.de
В списке pgsql-general по дате отправления: