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.

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

    You are an absolute legend!!!

    It works now :D

    Many thanks for your time and help, it is greatly appreciated.

      Good to hear it works now, and you're welcome.

Re^4: pp generated executable can't find or load libraries
by Anonymous Monk on Jul 29, 2022 at 17:49 UTC