Re: is libpq and openssl 1.1.* compatible?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: is libpq and openssl 1.1.* compatible?
Date: 2018-02-26 05:06:39
Message-ID: dc7dbe1b-d210-044d-7e00-4726cb5477d8@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/25/2018 08:36 PM, Konstantin Izmailov wrote:
> I got the latest libpq (from pg 10.1), and tried to compile it with
> openssl 1.1. I got errors:
> libpq10\fe-secure-openssl.c(1582): error C2037: left of 'ptr' specifies
> undefined struct/union 'bio_st'
> libpq10\fe-secure-openssl.c(1582): error C2198: 'pqsecure_raw_read' :
> too few arguments for call
> libpq10\fe-secure-openssl.c(1612): error C2037: left of 'ptr' specifies
> undefined struct/union 'bio_st'
> libpq10\fe-secure-openssl.c(1612): error C2198: 'pqsecure_raw_write' :
> too few arguments for call
> libpq10\fe-secure-openssl.c(1671): error C2027: use of undefined type
> 'bio_method_st'
>           openssl-1.1.0g\inc32\openssl\bio.h(244) : see declaration of
> 'bio_method_st'
> libpq10\fe-secure-openssl.c(1674): error C2027: use of undefined type
> 'bio_method_st'
>
> I wonder if I'm not doing smth right, or libpq is not compatible with
> openssl 1.1? Please help.

Where did you get the libpq source from?

What was the command you used to compile?

Do you have openssl-dev(el) installed?

>
> Thank you!

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Paquier 2018-02-26 05:44:45 Re: is libpq and openssl 1.1.* compatible?
Previous Message Konstantin Izmailov 2018-02-26 04:36:04 is libpq and openssl 1.1.* compatible?