Re: : Errors when compiling with Postgres 7.2.3 Libraries on RedHat 8

From: Tommi Maekitalo <t(dot)maekitalo(at)epgmbh(dot)de>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: : Errors when compiling with Postgres 7.2.3 Libraries on RedHat 8
Date: 2002-10-24 06:18:43
Message-ID: 200210240818.43880.t.maekitalo@epgmbh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)maekitalo(at)epgmbh(dot)de>
> To: "shey sewani" <pakix2000(at)hotmail(dot)com>, pgsql-general(at)postgresql(dot)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(at)192(dot)168(dot)41(dot)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(at)hotmail(dot)com>
> In-Reply-To: <F106gKMy5KINzq6xEfh0000848b(at)hotmail(dot)com>
> Message-Id: <200210231020(dot)25001(dot)t(dot)maekitalo(at)epgmbh(dot)de>
> Return-Path: t(dot)maekitalo(at)epgmbh(dot)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

Browse pgsql-general by date

  From Date Subject
Next Message Fathi Ben Nasr 2002-10-24 07:53:17 Re: LDAP authentication
Previous Message Jeffrey Melloy 2002-10-24 04:57:17 Perl DBD::Pg problem