leonidlm has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I have a strange problem. Since I need to write a simple monitoring script that would be distributed to a big amount of NON perl windows machines I use perl packager to write my scripts locally on my machine and create a "exe" file from it. Now, everything went fine till I tried to package in this way a script that fetches an HTTPS url. If I run it on my machine as .pl file it runs normally but when I package it and run from the same machine the newly created .exe file I get the following error: The ordinal 3212 could not be located in the dynamic link library LIBEAY32.dll
Can't load 'C:\DOCUME~1\leonid\LOCALS~1\Temp\par-leonid\cache-850fb67ec8d216c168
a76b54eb703690d958fff8\6df07938.dll' for module
Crypt::SSLeay: load_file:The ope rating system cannot run %1 at c:/perl/lib/DynaLoader.pm line 229.
at c:/perl/site/lib/PAR/Heavy.pm line 82 Compilation failed in require at script/IsPageAvailable.pl line 10.
BEGIN failed--compilation aborted at script/IsPageAvailable.pl line 10.
Please someone, help me! Regards, Leonid M.
  • Comment on https, Crypt::SSLeavy and perl packager combined together

Replies are listed 'Best First'.
Re: https, Crypt::SSLeavy and perl packager combined together
by jettero (Monsignor) on Jul 06, 2008 at 12:04 UTC

    The dep scanner doesn't consider non-perl dependencies. You'll need to manually include the libeay32.dll using the switch provided (-l I believe, see pp).

    -Paul

        So how I can treat that ?
      Didn't work, the same error :( Can you help me out a little bit more ?
        According to the anonymonk, you have to include the right dll with the -l and then you're all set.

        -Paul