Re: is libpq and openssl 1.1.* compatible?

Поиск
Список
Период
Сортировка
От Konstantin Izmailov
Тема Re: is libpq and openssl 1.1.* compatible?
Дата
Msg-id CAAw-MscUBcyor3fQ4W4853L_6N+9kGZwW1wpr2ZuPza1dEt_kQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: is libpq and openssl 1.1.* compatible?  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: is libpq and openssl 1.1.* compatible?  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-general
Let me ask this differently: can Visual Studio 2013/2017 compile libpq with openssl 1.1 support? Under Windows?

I have not been able to find an answer by googling before asking this question here. Can someone share the compiled library and changes in the source if needed for the openssl 1.1? Magnus please.



On Sun, Feb 25, 2018 at 10:44 PM, Michael Paquier <michael@paquier.xyz> wrote:
On Sun, Feb 25, 2018 at 09:06:39PM -0800, Adrian Klaver wrote:
> On 02/25/2018 08:36 PM, Konstantin Izmailov wrote:
>> I wonder if I'm not doing smth right, or libpq is not compatible with
>> openssl 1.1? Please help.

The answer to the second question is that libpq is compatible with
OpenSSL 1.1.0 since this commit:
commit: 593d4e47db7af1a3a5dd6b6b1971f181b5566dbd
author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
date: Thu, 15 Sep 2016 14:42:29 +0300
Support OpenSSL 1.1.0.

This applies down to 9.5.  Porting got a bit more difficult with 9.4 and
older versions.  As 1.0.2 is LTS, meaning that it will become EOL after
1.1.0, porting 1.1.0 does not matter much as most application are going
to use 1.0.2 in priority (I do so for one).

> Do you have openssl-dev(el) installed?

Most likely that's the problem.  Debian does this package split for
example.
--
Michael

В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: is libpq and openssl 1.1.* compatible?
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: is libpq and openssl 1.1.* compatible?