Skip to main content

Posts

Showing posts from June, 2011

Solving PAR::Packer "Can't locate loadable object for module IO in @INC"

Building an executable with Strawberry Perl is successful but when actually running it (after we have renamed the c:/strawberry to c:/strawberryX so it cannot find the dependencies from the path), fails with the following errors :

" Can't locate loadable object for module IO in @INC (@INC contains: CODE(0xa1d31c
) C:\strawberry\perl\vendor\lib .) at C:/strawberry/perl/site/lib/PAR/Heavy.pm l
ine 103
Compilation failed in require at C:/strawberry/perl/lib/IO/Handle.pm line 266.
BEGIN failed--compilation aborted at C:/strawberry/perl/lib/IO/Handle.pm line 26
6.
Compilation failed in require at C:/strawberry/perl/lib/IO/Seekable.pm line 101.
BEGIN failed--compilation aborted at C:/strawberry/perl/lib/IO/Seekable.pm line
101.
Compilation failed in require at C:/strawberry/perl/lib/IO/File.pm line 133.
BEGIN failed--compilation aborted at C:/strawberry/perl/lib/IO/File.pm line 133.
Compilation failed in require at -e line 351. "

I am on WinXP SP3 ,PAR 1.002,PAR::Packer 1.009, and have tr…