Sun Dec 04 17:49:05 2011: Request 72930 was acted upon.
Transaction: Correspondence added by garyyang6
       Queue: PAR
     Subject: Re: [rt.cpan.org #72930] Cannot install PAR-Packer-1.012.tar.gz 
with ActivePerl-5.14.2.1402-x86_64-linux-glibc-2.3.5-295342.tar.gz. 
ActivePerl-5.14/lib/CORE/libperl.so: File format not recognized. 
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: garyya...@yahoo.com
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72930 >


Roderich,


I did further investigation. I guess the problem is objdump. Below is the info. 
Can you please tell me your objdump?

which objdump
/usr/local/bin/objdump
[/tmp/PAR-Packer-1.012]> objdump --version
GNU objdump (GNU Binutils) 2.18
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

[/tmp/PAR-Packer-1.012]> which perl
/opt/ActivePerl-5.14/bin/perl

[/tmp/PAR-Packer-1.012]> perl -v

This is perl 5, version 14, subversion 2 (v5.14.2) built for 
x86_64-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2011, Larry Wall

Binary build 1402 [295342] provided by ActiveState http://www.ActiveState.com
Built Oct  9 2011 15:47:00

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

I re-downloaded PAR-Packer-1.012.tar.gz. I still got the same error.

perl Makefile.PL
Prototype mismatch: sub main::prompt: none vs ($;$) at 
/opt/ActivePerl-5.14/site/lib/ExtUtils/MakeMaker.pm line 219
objdump: /opt/ActivePerl-5.14/lib/CORE/libperl.so: File format not recognized
Writing Makefile for par
Writing MYMETA.yml and MYMETA.json
Writing Makefile for PAR::Packer
Writing MYMETA.yml and MYMETA.json



Thanks,


Gary


----- Original Message -----
From: Gary via RT <bug-...@rt.cpan.org>
To: par@perl.org; jesse+...@bestpractical.com
Cc: 
Sent: Sunday, December 4, 2011 2:34 PM
Subject: Re: [rt.cpan.org #72930] Cannot install PAR-Packer-1.012.tar.gz with 
ActivePerl-5.14.2.1402-x86_64-linux-glibc-2.3.5-295342.tar.gz. 
ActivePerl-5.14/lib/CORE/libperl.so: File format not recognized. 

Sun Dec 04 17:34:35 2011: Request 72930 was acted upon.
Transaction: Correspondence added by garyyang6
       Queue: PAR
     Subject: Re: [rt.cpan.org #72930] Cannot install PAR-Packer-1.012.tar.gz 
with ActivePerl-5.14.2.1402-x86_64-linux-glibc-2.3.5-295342.tar.gz. 
ActivePerl-5.14/lib/CORE/libperl.so: File format not recognized. 
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: garyya...@yahoo.com
      Status: rejected
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72930 >


Roderich,


Here is the info

ls -alF /opt/ActivePerl-5.14/lib/CORE/libperl.so
-r-xr-xr-x    1 garyy  garyy  1639070 Dec  2 11:30 
/opt/ActivePerl-5.14/lib/CORE/libperl.so*

file /opt/ActivePerl-5.14/lib/CORE/libperl.so
/opt/ActivePerl-5.14/lib/CORE/libperl.so: ELF 64-bit LSB shared object, AMD 
x86-64, version 1 (SYSV), not stripped

Did you actually downloaded and 
installed ActivePerl-5.14.2.1402-x86_64-linux-glibc-2.3.5-295342.tar.gz? Can I 
have your perl -V output? I am afraid we might have different version of Perl.


Thanks,


Gary



----- Original Message -----
From: Roderich Schupp via RT <bug-...@rt.cpan.org>
To: garyya...@yahoo.com
Cc: 
Sent: Sunday, December 4, 2011 8:45 AM
Subject: [rt.cpan.org #72930] Cannot install PAR-Packer-1.012.tar.gz with 
ActivePerl-5.14.2.1402-x86_64-linux-glibc-2.3.5-295342.tar.gz. 
ActivePerl-5.14/lib/CORE/libperl.so: File format not recognized. 

<URL: https://rt.cpan.org/Ticket/Display.html?id=72930 >

On 2011-12-04 03:34:32, garyyang6 wrote:
> When I install PAR-Packer-1.012.tar.gz, I got “Prototype
> mismatch: sub main::prompt: none vs ($;$) at
> /opt/ActivePerl-5.14/site/lib/ExtUtils/MakeMaker.pm line 219 objdump:
> /opt/ActivePerl-5.14/lib/CORE/libperl.so: File format not recognized”.

I can't reproduce this here.
This is not a problem with PAR::Packer.

  objdump: /opt/ActivePerl-5.14/lib/CORE/libperl.so: File format not
recognized

Try to find out what objdump doesn't like about this file -
I have here

$ ls -l ./perl/lib/CORE/libperl.so
-r-xr-xr-x 1 roderich roderich 1639070 Oct 10 01:24
./perl/lib/CORE/libperl.so*

$ file ./perl/lib/CORE/libperl.so
./perl/lib/CORE/libperl.so: ELF 64-bit LSB shared object, x86-64,
version 1 (SYSV), dynamically linked, not stripped

Cheers, Roderich

Reply via email to