Christopher Browne cbbrowne at ca.afilias.info
Tue Jun 22 14:24:09 PDT 2010
Aleksey Tsalolikhin <atsaloli.tech at gmail.com> writes:
> Hi.  We're running Postgres 8.4.2 (installed with EnterpriseDB
> installation wizard).
>
> I am trying to build slony 1.2.21, and it bombs out saying my Postgres
> version is less than 7.3.
>
> Any suggestions?
>
> ./configure --with-pgconfigdir=/opt/PostgreSQL/8.4/bin/
> --prefix=/opt/slony1-1.2.21
> ...
> checking for pg_config... /opt/PostgreSQL/8.4/bin//pg_config
> pg_config says pg_bindir is /opt/PostgreSQL/8.4/bin/
> pg_config says pg_libdir is /opt/PostgreSQL/8.4/lib/
> pg_config says pg_includedir is /opt/PostgreSQL/8.4/include/
> pg_config says pg_pkglibdir is /opt/PostgreSQL/8.4/lib/postgresql/
> pg_config says pg_includeserverdir is
> /opt/PostgreSQL/8.4/include/postgresql/server/
> checking for correct version of PostgreSQL... 8.4
> pg_config says pg_sharedir is /opt/PostgreSQL/8.4/share/postgresql/
> 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've run the "./configure" through an strace and it's picking up
> /opt/PostgreSQL/8.4/lib/libpq.so

Well, configure didn't find PQunescapeBytea() when checking out libpq.

It's doubtless NOT a problem of running PostgreSQL 7.2, and I think
I've changed Configure in later releases to NOT give that diagnosis.
It's probably that it couldn't find libpq to link against, or some
such thing.

There's probably some further clue as to why in config.log, which is
generated by the configure script.  Look near the bottom for an error
message.  Alas, configure is verbose enough that the relevant error is
probably 100 lines before the end of the log file :-(.
-- 
"cbbrowne","@","ca.afilias.info"
<http://dba2.int.libertyrms.com/>
Christopher Browne
(416) 673-4124 (land)


More information about the Slony1-general mailing list