pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: is libpq and openssl 1.1.* compatible?
Date: Sun, 25 Feb 2018 21:06:39 -0800
Message-ID: <dc7dbe1b-d210-044d-7e00-4726cb5477d8@aklaver.com> (raw)
In-Reply-To: <CAAw-Mseg9JYpp=A=51HR3rKiQtbvT0MWw+aYFwNeJEbdNr=CDA@mail.gmail.com>
References: <CAAw-Mseg9JYpp=A=51HR3rKiQtbvT0MWw+aYFwNeJEbdNr=CDA@mail.gmail.com>

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




view thread (6+ messages)  latest in thread

Message-ID: <dc7dbe1b-d210-044d-7e00-4726cb5477d8@aklaver.com>
Permalink:  ../dc7dbe1b-d210-044d-7e00-4726cb5477d8@aklaver.com/
Also on:    postgresql.org/message-id/dc7dbe1b-d210-044d-7e00-4726cb5477d8@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com
  Subject: Re: is libpq and openssl 1.1.* compatible?
  In-Reply-To: <dc7dbe1b-d210-044d-7e00-4726cb5477d8@aklaver.com>
  References: <CAAw-Mseg9JYpp=A=51HR3rKiQtbvT0MWw+aYFwNeJEbdNr=CDA@mail.gmail.com> <dc7dbe1b-d210-044d-7e00-4726cb5477d8@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox