Re: Re: segmentation fault when running a script generated with pp on another unix server

[email protected] (Roderich Schupp)
Newsgroups perl.par
Message-ID <CAC9r9zaEPWtwFcVgjUzri48TaNzFM7JxZFRctS-yR5vs+MyQoA@mail.gmail.com>
On Tue, Jun 21, 2016 at 8:43 AM, kadimir kasprzak <[email protected]>
wrote:

> I've executed both exe with truss and compared the result with a tool like
> WinMerge.
>
> I don't know if it's relevant, but it seems that the issue appear with the
> module Zlib (when tyring to uncompress the files ?)
>
No, the NOK truss log doesn't get as far as that. But both logs show that
the packed executable uses the libperl.so* from the machine the executable
ran on and _not_ the libperl.so* that is also packed into the executable
(i.e. which comes from the machine where you created the executable).

Please post the output of "perl -V" from the machine where you built
PAR::Packer and subsequently created  the executable?
Also the complete output of a fresh build of PAR::Packer, i.e after
unpacking the tarball and cd to the top level directory:

perl Makefile.PL
make

Cheers, Roderich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.