Re: Errors compiling 7.0.3 on Solaris 7

From: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
To: Gareth Cantrell <gareth(at)citec(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: Errors compiling 7.0.3 on Solaris 7
Date: 2001-01-18 12:46:56
Message-ID: 01011809465600.23355@math.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

El Mié 17 Ene 2001 15:49, Gareth Cantrell escribió:
> Hi:
>
> 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
> make[2]: Leaving directory
> `/usr/share/src/postgresql-7.0.3/src/interfaces/libpq++'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/share/src/postgresql-7.0.3/src/interfaces'
> make: *** [all] Error 2
>
> I have:
> gcc 2.95.2
> gmake 3.78.1
> readline 4.1
> Flex 2.5.4
> Bison 1.28

I'm not sure if this is the correct answer, but, at this moment I'm
installing gcc (compiling with shared), postgres-7.1-beta1, apache, php, etc.
and for what my last 2 days of experience say, use the Solaris make and
binutils. They should be in /usr/ccs, if they are installed. If you have
them, just change your environment variables PATH and LD_LIBRARY_PATH.

> I have also set LD_RUN_PATH=/usr/local/pgsql/lib
>
> I have to have this running within 10 hours...
> Someone PLEASE, PLEASE HELP!!!!

Saludos... :-)

--
System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués email: martin(at)math(dot)unl(dot)edu(dot)ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gunnar R|nning 2001-01-18 12:57:01 Re: Re: JDBC Performance
Previous Message J.H.M. Dassen (Ray) 2001-01-18 10:30:34 Re: GET DIAGNOSTICS SELECT PROCESSED INTO <int4_variable>