[stunnel-users] zlib error in build for W32

J F j.francisco.oliveira at gmail.com
Mon May 3 15:52:09 CEST 2010


I'm trying to build from source stunnel-4.33 for W32 in a machine with Debian lenny following the guidelines provided in INSTALL.W32.  First I received complains from the compiler about zlib.h not found. Then I copied the zlib headers from /usr/include  in include directory under openssl tree. Now openssl 1.0 compiles smoothly but when I try to compile stunnel I received the following error:

i586-mingw32msvc-gcc -s -o stunnel.exe file.obj client.obj log.obj options.obj protocol.obj network.obj resolver.obj ssl.obj ctx.obj verify.obj sthreads.obj stunnel.obj gui.obj resources.obj -L/usr/src/openssl-1.0.0 -lzdll -lcrypto.dll -lssl.dll -lws2_32 -lgdi32 -mwindows
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld: cannot find -lzdll
collect2: ld returned 1 exit status
make: *** [stunnel.exe] Error 1

Am I doing some basic mistake?


More information about the stunnel-users mailing list