Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Windows and Unix based OS are completely two different things. Windows 7 is an NT Os with an NT subsystem (or two if x86_64) which consist of WIN32 (+ WIN64 if you can run 64-bit PEs).<br> The windows subsystem give a a well defined set of API which is called <a href="http://msdn.microsoft.com/en-us/library/cc433218%28VS.85%29.aspx" rel="nofollow">WINAPI</a> (which don't contains things like .NET or DirectX). For example The API for dealing with Networking API is called Winsock.<br> The main API for cryptgraphic Api is called <a href="http://msdn.microsoft.com/en-uk/library/aa380255%28v=vs.85%29.aspx" rel="nofollow">CyptoAPI</a> (See Also <a href="http://msdn.microsoft.com/en-uk/library/aa388162(v=vs.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-uk/library/aa388162(v=vs.85).aspx</a>). Most Of it's functions are located in %SystemRoot%\System32\<a href="http://msdn.microsoft.com/en-us/library/aa379884%28v=vs.85%29.aspx" rel="nofollow" title="Crypt32.dll Versions">Crypt32.dll</a> (unless you're using 32-bits binaries on 64-bits windows version).<br> I tried to look for SSL functions/c++ classes, but I didn't found them yet (Maybe there are part of .Net or something else)</p> <p>Actually, you don't want to use the windows subsystem Native functions. Your're trying to get ruby running under windows. I don't know which compiler you're using, but it doesn't seems to be cl (which is used in Microsoft Visual Studio). OpenSSL are an API which provide cryptography C Functions. Windows is using different ones So, It won't work since it is OpenSSL functions the linker is looking for in SSL shared objects files.</p> <p>What you're currently wanting to use programs which are written for using API's present in Unix OS like POSIX.</p> <p><br>Microsoft designed several things for this: <a href="http://technet.microsoft.com/en-uk/library/cc771470.aspx" rel="nofollow" title="Subsystem for UNIX-based Applications">SUA</a> will give a base system with X11 gcc and make. Many libraries required to compile ruby will be missing. So, you'll probably want to search some pre-compiled <a href="http://web.archive.org/web/20130406032142/http://www.suacommunity.com/SUA.aspx" rel="nofollow">packages</a> on this <a href="http://web.archive.org/web/20130406032130/http://www.suacommunity.com/" rel="nofollow">site</a>.</p> <p>Another approach is to make the system recognize the ELF format and wrap linux systems calls which allow to run <a href="http://lbw.sourceforge.net/" rel="nofollow" title="LBW: Linux Binaries on Windows">linux binaries</a> without emulation. But since you're using windows 7, the sentence is "too bad for you" <a href="http://atratus.org/" rel="nofollow">:)</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload