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