11From: Zeugswetter Andreas <ZeugswetterA@spardat.at>
2- $Date:2005/12/08 21:36:50 $
2+ $Date:2006/04/05 22:55:05 $
33
44On AIX 4.3.2 PostgreSQL compiled with the native IBM compiler xlc
55(vac.C 5.0.1) passes all regression tests. Other versions of OS and
@@ -129,14 +129,18 @@ for details about the problem.
129129
130130Working around the problem:
131131---------------------------
132- 1) Use the new 8.2devel backend Makefile:
132+ Try one of the following:
133+
134+ o Use the new 8.2devel backend Makefile:
135+
133136After the matter of readline's export list and the problems that were
134137occurring on AIX because of it being linked to the backend, a filter
135138to exclude unneeded libraries from being linked against the backend was
136139added. Get revision 1.112 of src/backend/Makefile from CVS and replace
137140the copy that came with postgres with it. Build normally.
138141
139- 2) Use libedit:
142+ o Use libedit
143+
140144There are a few libedit ports available online. Build and install the
141145desired port. If libreadline.a can be found in /lib, /usr/lib, or in
142146any location passed to postgres' configure via "--with-libraries=",
@@ -154,14 +158,16 @@ If the version of libedit used calls its "history.h" something other
154158than history.h, place a symlink called history.h to it somewhere that
155159the C preprocessor will check.
156160
157- 3) Configure with "--without-readline":
161+ o Configure with "--without-readline"
162+
158163postgres can be configured with the option "--without-readline". When
159164this is enabled, postgres will not link against libreadline or libedit.
160165psql will not have history, tab completion, or any of the other niceties
161166that readline and libedit bring, but external readline wrappers exist
162167that add that functionality.
163168
164- 4) Use readline 5.0:
169+ o Use readline 5.0
170+
165171Readline 5.0 does not induce the problems, however it does export
166172memcpy and strncpy when built using the easy method of "-bexpall". Like
1671734.3, it is possible to do a build that does not export these symbols,