AIX 432 shared library problem

Started by David R. Favorover 26 years ago3 messages
#1David R. Favor
dfavor@austin.ibm.com

None of the shared libraries appear to get generated properly.

As a result lib*.a end up in /usr/local/pgsql/lib, so the regression
tests can't run.

Mailing list archive search is still down, so I can't check if this
has been fixed.

I'm using egcs (gcc 2.95) because the native xlC compiler has other problems.

Suggestions?

#2ZEUGSWETTER Andreas IZ5
Andreas.Zeugswetter@telecom.at
In reply to: David R. Favor (#1)
AW: [HACKERS] AIX 432 shared library problem

I'm using egcs (gcc 2.95) because the native xlC compiler has other
problems.

I have not been successful with shared lib support using any version of gcc.
The native IBM compiler works. See the FAQ_AIX.
If you have readline and others in /usr/local use: (change /usr/postgres to
your preference)

fix inttypes.h in /usr/include/ (comment out int8 to int64 typedefs
IBM says that these are BSD, but obviously no other unix defines those (not
even BSD))

cd src
./configure --prefix=/usr/postgres --without-CXX \
--with-includes=/usr/local/include --with-libraries=/usr/local/lib
gmake all
gmake install

cd pl/plpgsql/src
/usr/postgres/src/backend/port/aix/mkldexport.sh \
libplpgsql.a /usr/postgres/lib > libplpgsql.exp
ld -H512 -bM:SRE -bI:/usr/postgres/lib/postgres.imp \
-bE:libplpgsql.exp -o libplpgsql.so libplpgsql.a -lc
cp libplpgsql.so /usr/postgres/lib/plpgsql.so

Andreas

#3The Hermit Hacker
scrappy@hub.org
In reply to: David R. Favor (#1)
Re: [HACKERS] AIX 432 shared library problem

Just checked...what is wrong with the archive search? It gave me back
results when I just tried it seconds ago...

On Mon, 14 Jun 1999, David R. Favor wrote:

None of the shared libraries appear to get generated properly.

As a result lib*.a end up in /usr/local/pgsql/lib, so the regression
tests can't run.

Mailing list archive search is still down, so I can't check if this
has been fixed.

I'm using egcs (gcc 2.95) because the native xlC compiler has other problems.

Suggestions?

Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org