Re: Errors compiling 7.0.3 on Solaris 7

From: "J(dot)H(dot)M(dot) Dassen (Ray)" <jdassen(at)cistron-office(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Errors compiling 7.0.3 on Solaris 7
Date: 2001-01-17 20:47:45
Message-ID: 20010117214745.A5355@cistron-office.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joseph Shraibman 2001-01-17 20:51:06 Re: postgres 7.0.3 core dumps
Previous Message Travis Bauer 2001-01-17 20:43:18 plperl and sqrt.