Tue Jun 21 03:33:18 2011: Request 68817 was acted upon.
Transaction: Correspondence added by nikos
Queue: PAR-Packer
Subject: Can't locate loadable object for module IO in @INC
Broken in: 1.009
Severity: Critical
Owner: Nobody
Requestors: [email protected]
Status: resolved
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68817 >
ok I did a clean install on a PC with Windows 2003 that had never Perl
installed
1.strawberry-perl-5.10.1.5.msi
2.perl -V shows :
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
Platform:
osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-
thread
uname='Win32 strawberryperl 5.10.1.5 #1 Sun May 15 09:44:53 2011 i386'
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT
-DUSE_SITECUSTOMIZE -
DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-DPERL_MSVCRT_RE
ADFIX',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='3.4.5', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long
long', lseek
size=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE"
-L"C:\strawberry\c\li
b"'
libpth=C:\strawberry\c\lib
libs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
-ladvapi3
2 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm
-lversio
n -lodbc32 -lodbccp32
perllibs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool
-lcomdlg32 -ladv
api32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr
-lwinmm -lve
rsion -lodbc32 -lodbccp32
libc=, so=dll, useshrplib=true, libperl=libperl510.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE"
-L"C:\st
rawberry\c\lib"'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_SITECUSTOMIZE
Built under MSWin32
Compiled at May 15 2011 09:50:23
%ENV:
PERL_JSON_BACKEND="JSON::XS"
PERL_YAML_BACKEND="YAML"
@INC:
C:/strawberry/perl/lib
C:/strawberry/perl/site/lib
C:\strawberry\perl\vendor\lib
.
Still vendor lib path messed up
3. XSLoader.pm is version 0.15 and does not contain a 'goto retry' reference
4. pp -o test.exe test.pl
5.renamed strawberry to strawberrX so the dependencies cannot be found
6.run test.exe
same error "Can't locate loadable object for module IO" etc.....
7.applied patch,rebuilt,pp'ed again,runs ok
but this is Strawberry 5.10.1.5 not 5.12 or 5.14
Όταν Δευ Ιουν 20 04:21:34 2011, RSCHUPP γράψε:
> Note to people who stumble over this bug report:
>
> The problem described exists and the real fix is rev 1257
> in PAR::Packer's Subversion repo and will be in the next
> relase of PAR::Packer. The actual problem is that
> XSLoader.pm changed (in general) in Perl 5.14.0 and also
> in Strawberry 5.12.3.0.
>
> However the fix described in this post is bogus and the supplied
> information is erroneous, e.g. @INC cited DIFFERS from the one
> printed by Strawberry 5.12.3.0 as installed from MSI
> (which identifies itself as "Win32 strawberryperl 5.12.3.0 #1 Sun May 15
> 09:44:53 2011 i386").
>
> Cheers, Roderich