Re: is libpq and openssl 1.1.* compatible? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: is libpq and openssl 1.1.* compatible?
Date
Msg-id dc7dbe1b-d210-044d-7e00-4726cb5477d8@aklaver.com
Whole thread Raw
In response to is libpq and openssl 1.1.* compatible?  (Konstantin Izmailov <pgfizm@gmail.com>)
Responses Re: is libpq and openssl 1.1.* compatible?  (Michael Paquier <michael@paquier.xyz>)
List 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.klaver@aklaver.com


pgsql-general by date:

Previous
From: Konstantin Izmailov
Date:
Subject: is libpq and openssl 1.1.* compatible?
Next
From: Michael Paquier
Date:
Subject: Re: is libpq and openssl 1.1.* compatible?