From: | "krzf83(at)gmail(dot)com " <krzf83(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | how to compile postgresql with other version of openssl? |
Date: | 2015-07-26 05:55:25 |
Message-ID: | CAJ1PRS=FhVZhprZ1p2pc12rscupDLY4+3XGvhcvRjfaAiFEooQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2015-07-26 07:06:34 | Re: how to compile postgresql with other version of openssl? |
Previous Message | Robert Nikander | 2015-07-25 14:43:00 | ts_rank and ts_rank_cd with multiple search terms |