Monks

Here is some background on my problem. OS: XP Perl: strawberry perl 5.8.8. I do not have admin access to my windows machine so I am unable to install openssl for Crypt::SSLeay in the proper fashion such that the dll files are copied to the system directory. I cannot change the system variables such as path on windows.


I am however able to place the dll files and source in a folder such as C:\openssl. I make sure to have the proper include directory set as stated in http://www.perlmonks.org/?node_id=692574


I am manually installing Crypt::SSLeay from the commandline using perl Makefile.PL and dmake test. I set it to perform the live test as one of the options Makefile.PL asks if you want to do.


The SSLeay.dll is created without any problems. However upon testing I get
This application has failed to start because libeay32.dll was not found. Re-installing the application may fix this problem


I have tried going into the blib directory and adding a BEGIN { use DynaLoader; push @DynaLoader::dl_library_path,'C:\\openssl'; }
to SSLeay.pm Like in an example I found in node
http://www.perlmonks.org/?node_id=603522

I am stuck with no other ideas, does anyone have any thoughts on how I could get this to work?


Best Regards
-Ty

Update:
Thank you all for your input. syphilis the set command did the trick
However, I am running into a different problem with the which compiler created the binaries of openssl that I am using, but that is not a perlmonks issue. But all is well on the build end of it.


In reply to Changing where DynaLoader looks for dll files on strawberry perl by tmaly

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.