I have been fighting with this for days now. I'm getting problems almost identical to what is listed in this node: Re^2: PAR::Packer - 'dll not found' error on run

I downloaded the latest version of openssl (openssl-0.9.8h) and Net-SSLeay (Net-SSLeay-1.36) and followed as best I could the installation instructions in README.Win32. The main differences are that I'm using Windows 7 64-bit instead of Windows Server 2003, Activestate Perl build 822 instead of 820, Visual Studio 2k8 command prompt instead of VC++ 6.0, and I didn't install the SDK (everything successfully compiles without it). I execute the following commands with no errors:

cd openssl-0.9.8h perl Configure VC-WIN32 --prefix=c:/OpenSSL ms\do_ms nmake -f ms\ntdll.mak nmake -f ms\ntdll.mak install copy c:\OpenSSL\bin\*.dll c:\windows\system32 cd ..\Net-SSLeay-1.36 perl Makefile.PL nmake
Then if I attempt an nmake test, it fails with the "Bad file descriptor"/"vendor undefined macro" error -- I've had this occur on either tcpcat or verify_none, depending on what version of openssl I try. If I "nmake install", it installs correctly, but then the "vendor undefined" error comes when I try to run a script that includes the module. I'm seriously out of ideas -- my Google-fu is entirely exhausted and I see no solution to this. I've changed nothing of the code and my Windows/ActiveState installations are vanilla. Can anyone explain what I'm doing wrong? Or specify exactly how to install this thing on a Windows machine?

In reply to installing Net-SSLeay on Windows system by wojtyk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.