http://www.perlmonks.org?node_id=11131225


in reply to Re^2: pp generated executable can't find or load libraries
in thread pp generated executable can't find or load libraries

It seems that a plain pp call, even with the -x flag, does not trigger all of the libraries, but packing works under pp_autolink.

You could also add these lines to the script, assuming in your case you always want to use them anyway:

BEGIN { use Net::SSLeay; use IO::Socket::SSL; IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'TLSv1_2', SSL_ +verify_mode => 0 ); }

When I run the exe I can get the usage information.

However, I have not tested if sending emails actually works, and that might be the next point of failure, leading to your other reply in 11131180.