Christopher Browne cbbrowne at ca.afilias.info
Thu Feb 11 13:25:18 PST 2010
Rahul Reddy <nilapusa at yahoo.com> writes:
> Hello,
>
> I am trying to install  Slony 2.0.0 with PostgreSQL 8.4.2 on Fedora 7 (32bits)
>
> When i run the following command:
>
>
>     ./configure \
>
>         --with-pgconfigdir=$PGMAIN/bin
>
> where PGMAIN is the path to where postgresql is installed, I get the following error message:
>
> configure: error: your version of libpq doesn't have PQunescapeBytea. this
> means that your version of PostgreSQL is lower than 7.3..

I'll be changing that message to be more usefully descriptive.

> Both Slony and Postgressql are installed in OPT directory
>
> I checked the config.log and got the following
> ----------------------------------------------------------------------------------------------------------------------------
>
> configure:5346: checking for PQunescapeBytea in -lpq
> configure:5379: gcc -o conftest -g -O2   -L/opt/PostgreSQL/8.4/lib/ conftest.c
> -lpq   >&5
> /usr/bin/ld: warning: libssl.so.4, needed by /opt/PostgreSQL/8.4/lib//
> libpq.so, not found (try using -rpath or -rpath-link)
> /usr/bin/ld: warning: libcrypto.so.4, needed by /opt/PostgreSQL/8.4/lib//
> libpq.so, not found (try using -rpath or -rpath-link)
> /opt/PostgreSQL/8.4/lib//libpq.so: undefined reference to `TLSv1_method'
> /opt/PostgreSQL/8.4/lib//libpq.so: undefined reference to `SSL_set_ex_data'
> /opt/PostgreSQL/8.4/lib//libpq.so: undefined reference to `SSL_connect'
> /opt/PostgreSQL/8.4/lib//libpq.so: undefined reference to
> `X509_STORE_load_locations'
> /opt/PostgreSQL/8.4/lib//libpq.so: undefined reference to `BIO_free'
> /opt/PostgreSQL/8.4/lib//libpq.so: undefined reference to `BIO_ctrl'
> /opt/PostgreSQL/8.4/lib//libpq.so: undefined reference to
> `CRYPTO_set_locking_callback'
> /opt/PostgreSQL/8.4/lib//libpq.so: undefined reference to `X509_NAME_oneline'
> /opt/PostgreSQL/8.4/lib//libpq.so: undefined reference to `SSL_CTX_set_verify'
> /opt/PostgreSQL/8.4/lib//libpq.so: undefined reference to
> `PEM_read_bio_PrivateKey'
>
> -----------------------------------------------------------------------------------------------------------------------

Evidently you aren't using the same library settings that were used to
compile PostgreSQL.

You could likely get some hint as to what's missing by running
"pg_config --configure", as that will show what options were used when
compiling PostgreSQL itself.
-- 
let name="cbbrowne" and tld="ca.afilias.info" in name ^ "@" ^ tld;;
Christopher Browne
"Bother,"  said Pooh,  "Eeyore, ready  two photon  torpedoes  and lock
phasers on the Heffalump, Piglet, meet me in transporter room three"


More information about the Slony1-bugs mailing list