Christopher Browne cbbrowne at ca.afilias.info
Wed Sep 26 08:03:11 PDT 2007
Brad Nicholson <bnichols at ca.afilias.info> writes:
> I've just built PG 8.1.10 on AIX 5.3, and encountered the following
> error when trying to configure slony.
>
> pg_config says pg_includeserverdir
> is /opt/dbs/pgsql8110-slony115-AIX5300-05-00-64bit-2007-09-26/include/server/
> checking for correct version of PostgreSQL... 8.1
> checking PostgreSQL for enable-thread-safety as required on
> aix5.3.0.0... yes
> checking for PQunescapeBytea in -lpq... no
> configure: error: Your version of libpq doesn't have PQunescapeBytea
>      this means that your version of PostgreSQL is lower than 7.3
>      and thus not supported by Slony-I.

I have seen this happen (in possibly a Somewhat Similar Environment
;-)) due to there being some compiler failure that was not related to
the version of PostgreSQL.

You might take a look in the file "config.log", heading to the end,
and then walking backwards until you reach the error.

Things to watch out for:
- On AIX, in 64 bit mode, you need "export OBJECT_MODE=64"
- For GCC, I seem to recall CC having to be (more or less) "export CC='gcc -maix_64'"
- If compiling with GCC, on AIX you need to make sure that you're NOT building
  archives using GNU ar.  "which ar" should answer the question...

It's more than likely one of these things that's breaking.
-- 
output = ("cbbrowne" "@" "linuxfinances.info")
http://linuxdatabases.info/info/lsf.html
"The  primary  difference  between  computer  salesmen  and  used  car
salesmen is that used car salesmen know when they're lying to you."


More information about the Slony1-general mailing list