Roderich,
I get the same error even after adding libz.so. The script I am
converting is an interactive script. When I run it on the machine where I
built it and interrupt it while it's runnig, I can see in the
/tmp/par_priv....tmp/ directory all *.pm files including the libz.so. I read
that the LD_LIBRARY_PATH will modified to include this temp directory. Any
idea how I can debug this?
Thanks
-Raj
-----Original Message-----
From: Roderich Schupp [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:02 AM
To: [EMAIL PROTECTED]
Subject: Re: Unable to run the exe on a non build machine
On Fri, 2003-10-17 at 00:28, [EMAIL PROTECTED] wrote:
> Hi,
> I use perl 5.8.0 and par 0.75. We have a network installation of
> perl in /tools/sunos/perl58, where I built an executable. I am having
> trouble running this executable built on a machine in a different network.
> This machine has perl 5.6.1 installed in /usr/local, and do not have PAR
> installed on it (Should not matter really). Looks like it's not able to
load
> the shared library libz.so . I see following message
Does the machine where it's failing have libz.so installed?
Note that pp currently does *not* pack additional shared libraries
that are referenced from the Perl modules it packs, e.g.
Compress/Zlib.so (which gets packed) refers to libz.so (which
doesn't). For now you can explicitly add libz.so to the executable:
- find Zlib.so where your perl modules are installed
- run ldd on it and note the location given for libz.so:
libz.so => /foo/bar/libz.so
- use option -l for pp:
pp -l /foo/bar/libz.so -o ...
Cheers, Roderich