Solaris compile problem

From: Karl DeBisschop <kdebisschop(at)h00a0cc3b7988(dot)ne(dot)mediaone(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Solaris compile problem
Date: 2000-06-06 01:09:07
Message-ID: 393C4F33.29633587@h00a0cc3b7988.ne.mediaone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Karl DeBisschop
Your email address : kdebisschop(at)alert(dot)infoplease(dot)com

System Configuration
---------------------
Architecture (example: Intel Pentium) : Sun E-450

Operating System (example: Linux 2.0.26 ELF) : Solaris 7

PostgreSQL version (example: PostgreSQL-6.5.1): postgresql-7.0.1

Compiler used (example: gcc 2.8.0) : gcc version egcs-2.91.66
19990314 (egcs-1.1.2 release)

Please enter a FULL description of your problem:
------------------------------------------------

after `./configure --prefix-/opt/postgresql-7.0.1`
make bailed on libpq++

make[2]: Entering directory `/u/kdebisschop/postgresql-7.0.1/src/interfaces/libpq++'
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

I don't use libpq++.so.3.1 so I just did:

cd /u/kdebisschop/postgresql-7.0.1/src/interfaces/libpq++
gcc -shared -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
cd ~/postgresql-7.0.1/src
make

and everything picked up fine (I have not yet run regression tests)

Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2000-06-06 01:30:40 Re: Solaris compile problem
Previous Message Tom Lane 2000-06-04 19:26:54 Re: Bug Repoprt- Casting Issues