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

FIXED

Please ignore - I used pp with -l to add the missing dll's and that fixed the issue

pp -l libeay32__.dll -l libexpat-1__.dll -l libz__.dll -l ssleay32__.dll soap_load_zz_exp_analysis.pl

I have written a script to do a soap call

I then used pp to compile it to an exe

If I run the file on my PC it works perfectly but if I use it on another PC I get the following errors

500 Can't locate object method "new" via package "LWP::Protocol::https::Socket"

I also get popups saying the following dll's are missing:

What is the best way to get round this?

I would prefer to not install Perl on the PC with the problem as the point of me using pp was to make my scripts portable

Any help would be much appreciated

I am running Windows 7 on my PC with strawberry perl

the PC with the issues is running Windows Server 2008

Replies are listed 'Best First'.
Re: LWP error
by daxim (Curate) on Jun 12, 2012 at 13:21 UTC