At 10:18 AM 9/18/2002 +0200, Rasmus Aaen writeth: >Hi, > >I'm a newbie to C, but as I am using more and more open-source software I >figured I'd better start compiling it myself. Maybe I could even learn >somthing as I go. So i installed MinGW, a few libraries and have now >successfully compiled several programs, including OpenSSL 0.9.6g. > >The problem is that I only get the static libraries when compiling OpenSSL, >not the DLL's. In the INSTALL.W32 file it says "To use the DLLs, link with >libeay32.a and libssl32.a instead". Could somebody please explain how I get >the dll's.
They should have been part of the build process and should be in the out32dll directory. If not, try re-building or use the Win32 OpenSSL Installation Project (for the DLLs): http://www.shininglightpro.com/search.php?searchname=Win32+OpenSSL Your compiler should have tools to extract '.a' files from DLLs. If not, I would strongly recommend getting a compiler that does support such extraction. Borland's command-line toolset (which is free) provides 'implib', but the compiler doesn't always play nice with the OpenSSL build _process_ (i.e. I've had problems building with Borland's FreeCommandLineTools). However, I can build using MSVSP, extract the appropriate info with 'implib' and continue along my way. I will work on getting the MinGW compiler to work with the Win32 OpenSSL Project in the next release. Granted, it doesn't allow you to compile from source (at this point), but it does allow you to get back to programming more quickly. Besides, OpenSSL really should not be bundled with any products due to export restrictions (let the end-user decide what to do about OpenSSL). As a result, OpenSSL (and any other strong crypto package) should be distributed separately. I'm glad you want to compile it, but be aware of legal restrictions of distributing Windows applications with strong crypto bundled with it. Hope this helps! Thomas J. Hruska -- [EMAIL PROTECTED] Shining Light Productions -- "Meeting the needs of fellow programmers" http://www.shininglightpro.com/ ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]