I ran 'pp -o' on the application I'm trying to deploy called the "bridge". My
packed 'bridge' stand-alone file runs on the target machine once I copy
libperl.so over. I'm ok with doing this if we can't figure out how to embed
it. But now I have a new problem.
My bridge application can be run over HTTP or HTTPS. Everything is working
great when I configure it to use HTTP. But when I configure it for HTTPS I'm
getting the following errors on the target machine:
LWP will support https URLs if the Crypt::SSLeay module is installed
AND
500 Can't locate object method "new" via package "LWP::Protocol::https::Socket"
I guess I'm missing a shared library or something I need to copy over to the
target machine; but I can't figure out which library I should be copying.
The packed 'bridge' file seems to have everything inside of it:
unzip -l bridge | grep Crypt
1171 11-02-14 09:16 lib/Crypt/SSLeay.pm
84 11-02-14 09:16 lib/Crypt/SSLeay/CTX.pm
86 11-02-14 09:16 lib/Crypt/SSLeay/Conn.pm
84 11-02-14 09:16 lib/Crypt/SSLeay/Err.pm
1225 11-02-14 09:16 lib/Crypt/SSLeay/MainContext.pm
651 11-02-14 09:16 lib/Crypt/SSLeay/X509.pm
0 11-02-11 14:25 lib/auto/Crypt/SSLeay/SSLeay.bs
25012 11-02-11 14:25 lib/auto/Crypt/SSLeay/SSLeay.so
unzip -l bridge | grep LWP
238 11-02-14 09:16 lib/LWP.pm
1069 11-02-14 09:16 lib/LWP/Authen/Basic.pm
2590 11-02-14 09:16 lib/LWP/Authen/Digest.pm
3084 11-02-14 09:16 lib/LWP/Authen/Ntlm.pm
3372 11-02-14 09:16 lib/LWP/ConnCache.pm
1245 11-02-14 09:16 lib/LWP/Debug.pm
4509 11-02-14 09:16 lib/LWP/MediaTypes.pm
278 11-02-14 09:16 lib/LWP/MemberMixin.pm
4838 11-02-14 09:16 lib/LWP/Protocol.pm
1856 11-02-14 09:16 lib/LWP/Protocol/GHTTP.pm
1411 11-02-14 09:16 lib/LWP/Protocol/cpan.pm
1310 11-02-14 09:16 lib/LWP/Protocol/data.pm
3926 11-02-14 09:16 lib/LWP/Protocol/file.pm
17533 11-02-14 09:16 lib/LWP/Protocol/ftp.pm
5826 11-02-14 09:16 lib/LWP/Protocol/gopher.pm
10644 11-02-14 09:16 lib/LWP/Protocol/http.pm
8478 11-02-14 09:16 lib/LWP/Protocol/http10.pm
1321 11-02-14 09:16 lib/LWP/Protocol/https.pm
1863 11-02-14 09:16 lib/LWP/Protocol/https10.pm
636 11-02-14 09:16 lib/LWP/Protocol/loopback.pm
4498 11-02-14 09:16 lib/LWP/Protocol/mailto.pm
3788 11-02-14 09:16 lib/LWP/Protocol/nntp.pm
661 11-02-14 09:16 lib/LWP/Protocol/nogo.pm
22191 11-02-14 09:16 lib/LWP/UserAgent.pm
Any help is much appreciated ... I'm so close to having this thing working. :-)
Thanks!
-Mike
-----Original Message-----
From: Roderich Schupp [mailto:[email protected]]
Sent: Monday, February 14, 2011 9:28 AM
To: Michael Miller
Cc: [email protected]
Subject: Re: Trouble putting together a stand alone
On Mon, Feb 14, 2011 at 3:16 PM, Michael Miller <[email protected]> wrote:
> Then I ran 'make' and got:
Hmm, looks good. If you're in the toplevel build directory for PAR::Packer,
what is the output of:
$ readelf -d myldr/par
My guess: it's a RUNPATH vs RPATH issue.
Cheers, Roderich
#####################################################################################
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#####################################################################################