Hello monks, I wrote a script to send an email. I am using Net::SMTP::TLS module.I installed it using cpan.I made an exe of script using pp, it works fine on my machine. When i move it to a different machine it gives missing libeay32.dll.I have come across few nodes in perlmonks but none of them helped me. I am using strawberry perl. I have tried below options: 1.Have placed libeay32.dll file in a folder and added it to path. 2.tried -l c:\openssl\libeay32.dll in pp utility. Nothing seems to work. Any help on how to get rid of this error. Thank you Akhila. Update : Posting the error Can't load 'C:\Users\PRASUN~1\AppData\Local\Temp\par-50726173756e612042617468616 c61\cache-c28bddca7a19b2cb367686019ad52fda9ece2852\03d2af7c.dll' for module Net: :SSLeay: load_file:The specified module could not be found at C:/strawberry/perl /lib/DynaLoader.pm line 190. at C:/strawberry/perl/site/lib/PAR/Heavy.pm line 75 Compilation failed in require at Net/SMTP/TLS.pm line 89. BEGIN failed--compilation aborted at Net/SMTP/TLS.pm line 89. Compilation failed in require at script/Test.pl line 7. BEGIN failed--compilation aborted at script/Test.pl line 7.

In reply to Missing libeay32.dll from an exe generated with pp utility by mailmeakhila

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.