Re: Compiling beta2 with openssl on XP Pro

Lists: pgsql-hackers-win32
From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tony and Bryn Reina" <reina_ga(at)hotmail(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: Compiling beta2 with openssl on XP Pro
Date: 2004-09-05 19:00:34
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE475BD8@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers-win32

>Magnus and Tom,
>
>I may have found the "SSL compiles" fix. I ran across a
>similar problem at
>http://archive.neotonic.com/archive/clanlib-devel/browse_frm/th
>read/1621/6940
>
>The solution was to also link to gdi32.lib by using the compile
>flag -lgdi32. At least the compiler doesn't seem to balk about
>these missing
>functions any more and that DLL does seem to have the
>appropriate bitmap
>function names.
>
>Does this sound right?

That is at least partially correct. It does fix the issue, but I'm not
100% sure it's the fix we want. I'm looking at two different ways right
now. Right now we also build exclusively against a static version of
OpenSSL, and I (and everyone I spoke to about it) think it's better to
go with the DLL version. Which will require a couple of different fixes.

But it is a correct fix insofar as it enables you to compile and run.

//Magnus


From: "Tony and Bryn Reina" <reina_ga(at)hotmail(dot)com>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: Compiling beta2 with openssl on XP Pro
Date: 2004-09-05 19:08:19
Message-ID: BAY8-DAV58h7i70A78m00004c89@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers-win32

Ok. I figured it was more complicated than that.

Thanks for the info.
-Tony

----- Original Message -----
From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tony and Bryn Reina" <reina_ga(at)hotmail(dot)com>; "Tom Lane"
<tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers-win32(at)postgresql(dot)org>
Sent: Sunday, September 05, 2004 9:00 PM
Subject: SV: [pgsql-hackers-win32] Compiling beta2 with openssl on XP Pro

>Magnus and Tom,
>
>I may have found the "SSL compiles" fix. I ran across a
>similar problem at
>http://archive.neotonic.com/archive/clanlib-devel/browse_frm/th
>read/1621/6940
>
>The solution was to also link to gdi32.lib by using the compile
>flag -lgdi32. At least the compiler doesn't seem to balk about
>these missing
>functions any more and that DLL does seem to have the
>appropriate bitmap
>function names.
>
>Does this sound right?

That is at least partially correct. It does fix the issue, but I'm not
100% sure it's the fix we want. I'm looking at two different ways right
now. Right now we also build exclusively against a static version of
OpenSSL, and I (and everyone I spoke to about it) think it's better to
go with the DLL version. Which will require a couple of different fixes.

But it is a correct fix insofar as it enables you to compile and run.

//Magnus


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: "Tony and Bryn Reina" <reina_ga(at)hotmail(dot)com>, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: Compiling beta2 with openssl on XP Pro
Date: 2004-09-05 19:29:36
Message-ID: 439.1094412576@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers-win32

"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
> That is at least partially correct. It does fix the issue, but I'm not
> 100% sure it's the fix we want. I'm looking at two different ways right
> now. Right now we also build exclusively against a static version of
> OpenSSL, and I (and everyone I spoke to about it) think it's better to
> go with the DLL version. Which will require a couple of different fixes.

Okay, I'll leave this as an open item till you send a patch.

regards, tom lane