[Win32utils-devel] Problems using a hand built OpenSSL on Windows

Berger, Daniel Daniel.Berger at qwest.com
Thu Oct 2 14:20:54 EDT 2008


 

> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org 
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of 
> Berger, Daniel
> Sent: Thursday, October 02, 2008 12:03 PM
> To: Development and ideas for win32utils projects
> Subject: [Win32utils-devel] Problems using a hand built 
> OpenSSL on Windows
> 
> Hi everyone,
> 
> Windows XP Pro
> OpenSSL 0.9.8i
> Ruby 1.8.6-p114
> 
> Ok, I'm going a bit OT here, but I want to see if anyone 
> knows the answer.
> 
> I built Ruby with VC++ 8 (cl 14). I managed to build and 
> install OpenSSL. I also managed to build the Ruby OpenSSL 
> extension, after 1 minor tweak to x509.h to eliminate a macro 
> conflict:
> 
> --- x509.orig   Thu Oct 02 11:30:10 2008
> +++ x509.h      Thu Oct 02 11:47:05 2008
> @@ -116,6 +116,7 @@
>  /* Under Win32 these are defined in wincrypt.h */  #undef 
> X509_NAME  #undef X509_CERT_PAIR
> +#undef X509_EXTENSIONS
>  #endif
> 
>  #define X509_FILETYPE_PEM      1
> 
> But, when I try to start Rails, for example, I get this:
> 
> "The ordinal 284 could not be located in the dynamic link 
> library SSLEAY32.DLL".
> 
> Any idea on how to solve this?

Disregard. This solved it:

set PATH=c:\usr\local\openssl\bin;%PATH%

I forgot how many apps ship with their own ssleay32.dll. It was using
the wrong one.

Regards,

Dan


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.


More information about the win32utils-devel mailing list