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

From J.H.M. Dassen (Ray)
Subject Re: Errors compiling 7.0.3 on Solaris 7
Date
Msg-id 20010117214745.A5355@cistron-office.nl
Whole thread Raw
In response to Errors compiling 7.0.3 on Solaris 7  (Gareth Cantrell <gareth@citec.net>)
List pgsql-general
On Wed, Jan 17, 2001 at 20:49:13 +0200, Gareth Cantrell wrote:
> 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

>    gcc 2.95.2

I'm not a Solaris expert, but this may indicate that the format of the object
files that gcc produces is not understood by the Solaris linker.
Perhaps gcc was compiled to expect GNU ld?

You may want to try compiling with Solaris' cc or installing GNU binutils as
well and linking with GNU ld.

HTH,
Ray
--
"a infinite number of monkeys typing into GNU emacs would never make a good
program"
    .../linux/Documentation/CodingStyle

pgsql-general by date:

Previous
From: Travis Bauer
Date:
Subject: plperl and sqrt.
Next
From: "Robert B. Easter"
Date:
Subject: Re: Using max() MUCH slower in v7.1