I am trying to compile openssl and stunnel for Win32, using my Debian host.
openssl compilation: ./Configure --cross-compile-prefix=i586-mingw32msvc- mingw shared no-zlib && make
The only problem I'm having is that libssl32.dll is not being created. I have the other libssl* files: libssl.a libssl.dll.a libssl.pc
So, then I download the precompiled dlls of openssl from here: http://www.slproweb.com/products/Win32OpenSSL.html
But, they require an additional vc redistributable, and since it seems like I'm so close, it'd be nice to finish it off the rest of the way.
stunnel compiles fine pointing it at the openssl directory, but on run-time, it complains that libssl32.dll can't be found.
Thanks.
Jon Daley stunnel@jon.limedaley.com wrote:
I am trying to compile openssl and stunnel for Win32, using my Debian host.
1. Install mingw32 tools: apt-get install mingw32
2. Cross-compile and install zlib (see the zlib documentation for details)
3. Cross-compile OpenSSL: ./Configure --cross-compile-prefix=i586-mingw32msvc- mingw shared zlib-dynamic make
4. Cross-compile stunnel: cd src make stunnel.exe
That's how I do it for ftp://stunnel.mirt.net/stunnel/. 8-)
Mike