how to compile postgresql with other version of openssl? - Mailing list pgsql-general

From krzf83@gmail.com
Subject how to compile postgresql with other version of openssl?
Date
Msg-id CAJ1PRS=FhVZhprZ1p2pc12rscupDLY4+3XGvhcvRjfaAiFEooQ@mail.gmail.com
Whole thread Raw
Responses Re: how to compile postgresql with other version of openssl?  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-general
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


pgsql-general by date:

Previous
From: Robert Nikander
Date:
Subject: ts_rank and ts_rank_cd with multiple search terms
Next
From: Michael Paquier
Date:
Subject: Re: how to compile postgresql with other version of openssl?