how to compile postgresql with other version of openssl?

Поиск
Список
Период
Сортировка
От krzf83@gmail.com
Тема how to compile postgresql with other version of openssl?
Дата
Msg-id CAJ1PRS=FhVZhprZ1p2pc12rscupDLY4+3XGvhcvRjfaAiFEooQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: how to compile postgresql with other version of openssl?  (Michael Paquier <michael.paquier@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Robert Nikander
Дата:
Сообщение: ts_rank and ts_rank_cd with multiple search terms
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: how to compile postgresql with other version of openssl?