Re: Errors compiling 7.0.3 on Solaris 7 - Mailing list pgsql-general

From Tom Lane
Subject Re: Errors compiling 7.0.3 on Solaris 7
Date
Msg-id 22204.979778275@sss.pgh.pa.us
Whole thread Raw
In response to Errors compiling 7.0.3 on Solaris 7  (Gareth Cantrell <gareth@citec.net>)
List pgsql-general
Gareth Cantrell <gareth@citec.net> writes:
> I've been trying in vain for over 5 hours now to compile
> PostgreSQL 7.0.3 on Solaris 7 (2.7).

> I keep getting the following error:

> ld -G -o libpq++.so.3.1 pgconnection.o pgdatabase.o pgtransdb.o
> pgcursordb.o pglobject.o  -L../../interfaces/libpq -lpq -ldl -lsocket
> -lresolv -lnsl -lm -lc
> pgconnection.o: could not read symbols: Bad value
> make[2]: *** [libpq++.so.3.1] Error 1

Kinda looks like your linker does not like the output format of g++.
Unless you're really intent on using libpq++, I'd suggest just dropping
that library from the build, by configuring --without-CXX.

            regards, tom lane

pgsql-general by date:

Previous
From: Michael Fork
Date:
Subject: Re: viewing foreign key constraints
Next
From: GH
Date:
Subject: Re: viewing foreign key constraints