[stunnel-users] Problem compiling win32 stunnel.exe v 4.21

Luis Rodrigo Gallardo Cruz rodrigo at nul-unu.com
Mon Dec 10 00:58:29 CET 2007

On Sun, Dec 09, 2007 at 11:30:01PM +0000, Hidden wrote:
> Okay, so I'm trying to build stunnel.exe (ver 4.21) under Debian Linux
> as a prelude to applying some  patches and I'm getting
> stuck.

Just to make sure I understand: You are trying to build *for* windows
*in* Debian.
> zdll could be something to do with zlib (which I have, ver 1.2.3) and
> eay32 and ssl32 are obviously related to  openssl, but the only
> libraries under openssl are libssl.a and libcrypto.a (although
> optimistically trying to bolt in libssl in place of ssl32 doesn't
> work). ws2_32 and gdi32 are windows sockets and GDI, for what it's
> worth.

You seem to be mixing up (the names of) unix libs with windows ones.

> I can't find the required libs on the internet anywhere, and maybe
> it's all down to me being a novice with mingw. I do notice the
> tantalizingly named files zlib1.dll, libeay32.dll, and  libssl32.dll
> in the precompiled Windows binary distribution of stunnel, but surely
> I can't use them in any way? 

You probably can, just put them where the linker can find them

Anyways, would it not be easier to compile in windows?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20071209/d1ddcccb/attachment.sig>

More information about the stunnel-users mailing list