in reply to pp generated executable can't find or load libraries

Hello vexed and welcome to the monastery and to the wonderful world of Perl!

your issue seems not so easy: your

> SYSTEM ERROR in executing sendEmail.pl : 256 at C:/Perl/perl/site/lib/Module/ScanDeps.pm line 1503

is when Module::ScanDeps try to perl -c what it received.

This can be related to one of modules you are trying to load because Net::SSLeay is bit particular: Re^3: PAR::Packer - 'dll not found' error on run.

So I cant resolve atm your pp issue with this script.

Anyway to send mail using perl is by far easier than debug the problem you are facing :) so consider well your needs to see if you can just embed or create your own mailsender routine.

PS see also PAR and pp in my bibliotheca dedicated section.

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^2: pp generated executable can't find or load libraries
by vexed (Novice) on Apr 12, 2021 at 12:49 UTC

    Thank you for your reply Discipulus,

    I have managed to check the original executable from 2009 using depends.exe (on an old Windows 7 PC) and it is very different compared to the one I packaged, it seems to have been packaged using Perl 5.8. In anyway, I assumed it is a straight forward issue but I was wrong. Thanks for your time.
      hello again vexed,

      I suppose you'll like Dependencies :)

      L*

      There are no rules, there are no thumbs..
      Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

        Hi Discipulus,

        Yes I have tried that when depends.exe hanged on my Windows 10 workstation, but somehow I couldn't get it to profile sendMail.exe with TLS arguments on.