Re: Compile psql 9.6 with SSL Version 1.1.0

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Ádám Maracska <csusza(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Compile psql 9.6 with SSL Version 1.1.0
Date: 2018-10-12 23:34:54
Message-ID: e4387b55-c291-56a8-6547-f69ec496b011@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/12/18 8:06 AM, Ádám Maracska wrote:

Please reply to list also.
Ccing list.
> Hi,
>
> Thanks for the short answer and thanks for reminding me for the most
> essential details that I missed.:)
>
> >What OS and version of same are you compiling in?
> So I would like to compile it for windows 10 x64 and with the postgresql
> 9.6.5 sources.
> (Later I would like to do this for debian also.)
>
> >Do you have the SSL dev libraries installed?
> No, I do not unfortunately.
>
> Thanks,
> Adam
>
> Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
> <mailto:adrian(dot)klaver(at)aklaver(dot)com>> ezt írta (időpont: 2018. okt. 12.,
> P, 16:51):
>
> On 10/12/18 7:15 AM, Ádám Maracska wrote:
> > Hi,
> >
> > Currently I am trying to compile my pqlib with SSL version 1.1.0,
> but I
> > get the following errors:
> > /
> > /
> > /fe-secure-openssl.c(1582): error C2037: left of 'ptr' specifies
> > undefined struct/union 'bio_st'/
> > /fe-secure-openssl.c(1582): error C2198: 'pqsecure_raw_read': too
> few
> > arguments for call/
> > /fe-secure-openssl.c(1612): error C2037: left of 'ptr' specifies
> > undefined struct/union 'bio_st'/
> > /fe-secure-openssl.c(1612): error C2198: 'pqsecure_raw_write':
> too few
> > arguments for call/
> > /fe-secure-openssl.c(1670): error C2027: use of undefined type
> > 'bio_method_st'/
> > /fe-secure-openssl.c(1673): error C2027: use of undefined type
> > 'bio_method_st'/
> > /fe-secure-openssl.c(1674): error C2037: left of 'bread' specifies
> > undefined struct/union 'bio_method_st'/
> > /fe-secure-openssl.c(1675): error C2037: left of 'bwrite' specifies
> > undefined struct/union 'bio_method_st'/
> > /fe-secure-openssl.c(1701): error C2037: left of 'ptr' specifies
> > undefined struct/union 'bio_st'/
> >
> > As I was checking the issue on google I found the following two
> message
> > thread about it:
> >
> > - From 2016: Based on this the ssl version 1.1 is supported, but the
> > message thread had not so promising end:
> >
> https://www.postgresql.org/message-id/flat/E1bkVG3-0000L8-Ln%40gemulon.postgresql.org
> > - From 2018: It had even more worse end. The questioner went back to
> > 1.0.2 ssl version, which is not an option for me, because that
> version
> > will not be supported shortly by openssl itself.
> >
> https://www.postgresql.org/message-id/CAAw-Mseg9JYpp%3DA%3D51HR3rKiQtbvT0MWw%2BaYFwNeJEbdNr%3DCDA%40mail.gmail.com
> >
> > Also I checked the source files and I saw these kind of comments:
> > / They are also not needed with OpenSSL 1.1.0 anymore.
> > (fe-secure-openssl.c)/
> > /
> > /
> > I suppose it is possible to compile the pqlib with ssl 1.1, but I
> can
> > not wrap my head around it. Maybe I should set some ifdefs for the
> > precompiler beforehand?
> >
> > I appreciate any help.
>
> What OS and version of same are you compiling in?
>
> Do you have the SSL dev libraries installed?
>
> >
> > Best Regards,
> > Adam
>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>
>

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Paquier 2018-10-13 08:32:48 Re: Compile psql 9.6 with SSL Version 1.1.0
Previous Message Pratik Parikh 2018-10-12 17:01:19 Re: Compile psql 9.6 with SSL Version 1.1.0