RE: [rt.cpan.org #119224] Issue about Can't locate loadable object for module

[email protected] ("Chenchen Qu via RT")
Newsgroups perl.par
Message-ID <[email protected]>
Tue Dec 13 11:05:48 2016: Request 119224 was acted upon.
Transaction: Correspondence added by [email protected]
       Queue: PAR-Packer
     Subject: RE: [rt.cpan.org #119224] Issue about Can't locate loadable object for module
   Broken in: (no value)
    Severity: (no value)
       Owner: RSCHUPP
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=119224 >


Hi Roderich:

Sorry I remembered the version wrong, the version for PAR::Packer that originally installed on perl-5.24.0 was 1.035 which causes the failure, so I reinstalled that with 1.033 and the failure still exist.

The pp log is just me setting the DynaLoader.pm to print out debug messages, trying to figure out why it couldn't find the so files from the /tmp directory.

I tried with completely new environment, I spin up a new box with perl-5.24.0 installed:

 5.24.0:
 PAR: 1.013
 PAR::Packer: 1.035
 Module::ScanDeps: 1.23


And the result I got is:

Can't locate loadable object for module IO in @INC (@INC contains: CODE(0x258ae98) /root/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/x86_64-linux-thread-multi /root/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0 /root/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/x86_64-linux-thread-multi /root/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0 .) at /root/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/x86_64-linux-thread-multi/IO/Handle.pm line 269.
Compilation failed in require at /root/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/x86_64-linux-thread-multi/IO/Handle.pm line 269.
BEGIN failed--compilation aborted at /root/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/x86_64-linux-thread-multi/IO/Handle.pm line 269.
Compilation failed in require at /root/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/x86_64-linux-thread-multi/IO/Seekable.pm line 101.
BEGIN failed--compilation aborted at /root/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/x86_64-linux-thread-multi/IO/Seekable.pm line 101.
Compilation failed in require at /root/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/x86_64-linux-thread-multi/IO/File.pm line 133.
BEGIN failed--compilation aborted at /root/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/x86_64-linux-thread-multi/IO/File.pm line 133.
Compilation failed in require at /root/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/Archive/Zip.pm line 7.
BEGIN failed--compilation aborted at /root/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/Archive/Zip.pm line 7.
Compilation failed in require at /root/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/PAR/Heavy.pm line 19.
BEGIN failed--compilation aborted at /root/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/PAR/Heavy.pm line 19.
Compilation failed in require at -e line 158.


Can I ask how does the mangled file in the /tmp directory get copied in the first place? 

Thanks
Chenchen



-----Original Message-----
From: Roderich Schupp via RT [mailto:[email protected]] 
Sent: Tuesday, December 13, 2016 3:41 PM
To: [email protected]
Subject: [rt.cpan.org #119224] Issue about Can't locate loadable object for module

Tue Dec 13 10:40:24 2016: Request 119224 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: Issue about Can't locate loadable object for module
   Broken in: (no value)
    Severity: (no value)
       Owner: RSCHUPP
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=119224 >


Am 2016-12-13 10:10:49, [email protected] schrieb:
> Verisons:
> 
> 5.22.1:
> PAR: 1.010
> PAR::Packer: 1.033
> Module::ScanDeps: 1.21

This is the one that works?

> 5.24.0:
> PAR: 1.013
> PAR::Packer: 1.033 (I used cpanm to install this version, 1.038 also 
> fails so I guess this one is not related)

(1) There is no PAR::Packer 1.038
(2) It's highly unlikely that "hello world" fails while cpanm did install PAR::Packer successfully (unless you did "cpan -f ...")

> Hellow world test:
> 
> 5.22.1:
> 
> Pp log:

What does "Pp log" do? Sorry, I can't wade thru its output. 
Please unset all PERL* environment variables (esp. PERL5LIB), then run just the two commands in "hello world" example from my previous message.

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.