Thread: Psql 7.0.2 install problem on Sol7

Psql 7.0.2 install problem on Sol7

From
"himself"
Date:
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



Re: Psql 7.0.2 install problem on Sol7

From
Mario Farias-Elinos Baez
Date:
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