mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-12 15:38:09 +02:00
> > > > found in the postmaster and not included from elsewhere) > > > > shared libs on AIX need to be able to resolve all symbols at linkage time. > > Those two symbols are in backend/utils/SUBSYS.o but not in the postgres > > executable. > > They are defined in backend/utils/mb/conv.c and declared in > include/mb/pg_wchar.h. They're also linked into the > postmaster. I don't see anything unusual. Attached is a patch to fix the mb linking problems on AIX. As a nice side effect it reduces the duplicate symbol warnings to linking libpq.so and libecpg.so (all shlibs that are not postmaster loadable modules). Please apply to current (only affects AIX). The _LARGE_FILES problem is unfortunately still open, unless Peter has fixed it per his recent idea. Zeugswetter Andreas SB SD
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
From: Zeugswetter Andreas <ZeugswetterA@spardat.at>
|
|
Fri Sep 27 12:33:36 MSZ 2002
|
|
|
|
On AIX 4.3.2 PostgreSQL compiled with the native IBM compiler xlc
|
|
(vac.C 5.0.1) passes all regression tests.
|
|
Other versions of OS and compiler should also work. If you don't have a
|
|
powerpc or use gcc you might see rounding differences in the geometry
|
|
regression test.
|
|
|
|
Use the following configure flags in addition to your own
|
|
if you have readline or libz there:
|
|
--with-includes=/usr/local/include --with-libraries=/usr/local/lib
|
|
|
|
If you need libpq++ and have trouble --with-CXX=xlC make sure you have
|
|
installed the appropriate C++ include files and use a C++ version that
|
|
supports the string class (e.g. VisualAge C++ filesets vacpp.cmp.batch 5.0
|
|
and vacpp.cmp.include 5.0).
|
|
|
|
There will probably be warnings about 0.0/0.0 division and duplicate symbols
|
|
which you can safely ignore.
|
|
|
|
Compiling PostgreSQL with gcc (2.95.3) on AIX also works.
|
|
Use the configure flags: --with-CC=gcc
|
|
|
|
You need libm.a that is in the fileset bos.adt.libm (try following command)
|
|
$ lslpp -l bos.adt.libm
|
|
|
|
Since the mktime() function does not work on AIX for dates before
|
|
1970, all localtime formatted datetimes will not use summer time for
|
|
dates before 1970.
|