Postgresql is first linux program based on automake I've ever seen (and i've been compiling linux stuff nice 1999) that does not allow specyfying lib locations on ./configure like (like --with-openssl=/path/to/openssl) So how do I link it to other version of openssl than one that is present in os system directories? I've tried: PKG_CONFIG=/usr/openssl-0.9.8zg/lib/pkgconfig ./configure --with-openssl LD_LIBRARY_PATH=/usr/openssl-0.9.8zg/lib ./configure --with-openssl LDFLAGS="-L/usr/openssl-0.9.8zg/lib" ./configure --with-openssl but build binnary is linked to system openssl (check for example by ldd src/psql/psql|grep ssl) ./configure script does not even say what openssl files it checks. I've also tried ./configure --includedir=/usr/openssl-0.9.8zg/include --with-libraries=/usr/openssl-0.9.8zg/lib --with-openssl it does in this case it does not even complete ./configure script -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general