Thu Nov 18 01:51:24 2010: Request 63083 was acted upon.
Transaction: Correspondence added by Coctic
Queue: PAR-Packer
Subject: pp: Undefined subroutine &DynaLoader::bootstrap called in
pp-compiled bianry
Broken in: 1.007
Severity: Important
Owner: Nobody
Requestors: [email protected]
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=63083 >
On Wed Nov 17 12:28:26 2010, RSCHUPP wrote:
> strace also shows that you ran a.exe with LD_LIBRARY_PATH set
> in the environment. Can you rerun a.exe without it and see
> if the problem goes away?
No, it doesn't:
$ export LD_LIBRARY_PATH=""
cs...@access:~>>
$ ./a.exe
Undefined subroutine &DynaLoader::bootstrap called at
/usr/lib/perl5/x86_64-linux/XSLoader.pm line 105.
Compilation failed in require at
/usr/lib/perl5/x86_64-linux/IO/Handle.pm line 263.
BEGIN failed--compilation aborted at
/usr/lib/perl5/x86_64-linux/IO/Handle.pm line 263.
Compilation failed in require at
/usr/lib/perl5/x86_64-linux/IO/Seekable.pm line 101.
BEGIN failed--compilation aborted at
/usr/lib/perl5/x86_64-linux/IO/Seekable.pm line 101.
Compilation failed in require at /usr/lib/perl5/x86_64-linux/IO/File.pm
line 133.
BEGIN failed--compilation aborted at
/usr/lib/perl5/x86_64-linux/IO/File.pm line 133.
Compilation failed in require at -e line 351.
> Another thing to try: first remove PAR's cache area
> which according to strace was
>
> /home/users/cstef/tmp/par-cstef
>
> (you have TMPDIR=$HOME/tmp, right?)
Right.
> then run a.exe and look for a file also called a.exe in the
> readelf -d /home/users/cstef/tmp/par-cstef/cache-LONGSHA1DIGEST/a.exe
$ readelf -d
/home/users/cstef/tmp/par-cstef/cache-91983bfecf21472d244f6bf26116bc20ee4433d3/a.exe
Dynamic section at offset 0xc028 contains 22 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libperl.so.5.8]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000c (INIT) 0x401dd0
0x000000000000000d (FINI) 0x405b38
0x000000006ffffef5 (GNU_HASH) 0x400240
0x0000000000000005 (STRTAB) 0x400ea8
0x0000000000000006 (SYMTAB) 0x4003e0
0x000000000000000a (STRSZ) 1501 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000015 (DEBUG) 0x0
0x0000000000000003 (PLTGOT) 0x60c1e0
0x0000000000000002 (PLTRELSZ) 1896 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0x401668
0x0000000000000007 (RELA) 0x401620
0x0000000000000008 (RELASZ) 72 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffffe (VERNEED) 0x401570
0x000000006fffffff (VERNEEDNUM) 3
0x000000006ffffff0 (VERSYM) 0x401486
0x0000000000000000 (NULL) 0x0
> In the same directory there should also be a file matching libperl*so*
> -what is its name?
$ ls
/home/users/cstef/tmp/par-cstef/cache-91983bfecf21472d244f6bf26116bc20ee4433d3/libperl*
/home/users/cstef/tmp/par-cstef/cache-91983bfecf21472d244f6bf26116bc20ee4433d3/libperl.so.5.8.8