Rahul Reddy nilapusa at yahoo.com
Wed Jan 27 15:58:20 PST 2010
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..

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'

-----------------------------------------------------------------------------------------------------------------------
I tried including pglibdir and still it didn't work 
Is it because I am not using 64bits ?

I read similar forums and people have pointed out the problem, but did not find any solution 

Appreciate any feedback 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-bugs/attachments/20100127/5ba3901b/attachment.htm 


More information about the Slony1-bugs mailing list