Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: pp generated executable can't find or load libraries

by swl (Priest)
on Apr 13, 2021 at 21:54 UTC ( #11131225=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11131225]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2021-06-21 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (99 votes). Check out past polls.

    Notices?