From: | ZEUGSWETTER Andreas IZ5 <Andreas(dot)Zeugswetter(at)telecom(dot)at> |
---|---|
To: | "'dfavor(at)austin(dot)ibm(dot)com'" <dfavor(at)austin(dot)ibm(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | AW: [HACKERS] AIX 432 shared library problem |
Date: | 1999-06-14 13:32:12 |
Message-ID: | 219F68D65015D011A8E000006F8590C60267B398@sdexcsrv1.f000.d0188.sd.spardat.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> 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
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Perdue, Geocrawler.com | 1999-06-14 13:36:43 | Backend Cache Invalidation |
Previous Message | David R. Favor | 1999-06-14 12:38:54 | AIX 432 shared library problem |