Re: building with meson on windows with ssl - Mailing list pgsql-hackers

From Dave Cramer
Subject Re: building with meson on windows with ssl
Date
Msg-id CADK3HHKxKNPi3en14B4=bKffZD7GmgOUkKdMjD1zwN1h7Gqw0Q@mail.gmail.com
Whole thread Raw
In response to Re: building with meson on windows with ssl  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers



On Mon, 13 Nov 2023 at 20:56, Andres Freund <andres@anarazel.de> wrote:
Hi,

On 2023-11-12 11:41:15 -0500, Dave Cramer wrote:
> On Sun, 12 Nov 2023 at 07:57, Dave Cramer <davecramer@gmail.com> wrote:
> > I am getting the following error
> > building on HEAD
> >
> > Library crypto found: YES
> > Checking for function "CRYPTO_new_ex_data" with dependencies -lssl,
> > -lcrypto: NO
> >
>
> So this is the error you get if you mix a 64 bit version of openssl and
> build with x86 tools. Clearly my problem, but the error message is less
> than helpful

There probably is more detail in meson-logs/meson-log.txt - could you post
that?
I'd have to undo what I did to fix it, but if I find time I will 


The problem could be related to the fact that on windows you (I think) can
have binaries with both 32bit and 64bit libraries loaded.

I was building with the 32bit tools by mistake. 

Was this with msvc or gcc/mingw?

msvc

Dave 

Greetings,

Andres Freund

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Remove MSVC scripts from the tree
Next
From: Amul Sul
Date:
Subject: Re: ALTER COLUMN ... SET EXPRESSION to alter stored generated column's expression