Re: Psql 7.0.2 install problem on Sol7 - Mailing list pgsql-admin

From Mario Farias-Elinos Baez
Subject Re: Psql 7.0.2 install problem on Sol7
Date
Msg-id 39A27FA1.97B5EC6F@ci.ulsa.mx
Whole thread Raw
In response to Psql 7.0.2 install problem on Sol7  ("himself" <no-no@dk.dk>)
List pgsql-admin
I need known what compiler are you using and your solaris vresion???, I
have PostgreSQL in a Solaris 7, but I compiled with GCC 2.95.2

If you are usiong de SUN C-Compiler, may ba this is the problem.


Regards
   Mario

>
> When trying to compile subj. the following error message occurs:
>
> ----cut-----
> make[3]: Leaving directory
> `/pack/postgresql-7.0.2/src/postgresql-7.0.2/src/interfaces/ecpg/preproc'
> make[2]: Leaving directory
> `/pack/postgresql-7.0.2/src/postgresql-7.0.2/src/interfaces/ecpg'
> make -C libpq++ all
> make[2]: Entering directory
> `/pack/postgresql-7.0.2/src/postgresql-7.0.2/src/interfaces/libpq++'
> c++ -g -O2 -I../../backend -I../../include -I../../interfaces/libpq -fPIC
> -c -o pgconnection.o pgconnection.cc
> c++ -g -O2 -I../../backend -I../../include -I../../interfaces/libpq -fPIC
> -c -o pgdatabase.o pgdatabase.cc
> c++ -g -O2 -I../../backend -I../../include -I../../interfaces/libpq -fPIC
> -c -o pgtransdb.o pgtransdb.cc
> c++ -g -O2 -I../../backend -I../../include -I../../interfaces/libpq -fPIC
> -c -o pgcursordb.o pgcursordb.cc
> c++ -g -O2 -I../../backend -I../../include -I../../interfaces/libpq -fPIC
> -c -o pglobject.o pglobject.cc
> ar crs libpq++.a pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o
> pglobject.o
> ranlib libpq++.a
> 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
> `/pack/postgresql-7.0.2/src/postgresql-7.0.2/src/interfaces/libpq++'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/pack/postgresql-7.0.2/src/postgresql-7.0.2/src/interfaces'
> make: *** [all] Error 2
>
> -------------------
>
> Anyone got a solution?
>
>  -Carsten

pgsql-admin by date:

Previous
From: Ken Kinder
Date:
Subject: Re: Work with datas > 8K
Next
From: AlphaByte
Date:
Subject: Still trying to get pgsql to run