|Subject:||parl.exe try to load dll from c:\strawberry\lib first|
|Date:||Wed, 13 Jul 2011 15:40:26 +0800|
|To:||bug-PAR-Packer [...] rt.cpan.org|
|From:||DengFeng Mao <mdengfeng [...] gmail.com>|
Hi, PAR::Packer experts Currently, I am working on win2003 x64 with strawberry-perl-5.12.3x64. I have installed PAR-Packer-1.009 with the patch in. After the module was installed. I can run the parl.exe correctly. ===================================================== C:\strawberry\perl\site\bin>parl.exe Usage: parl.exe [ -Alib.par ] [ -Idir ] [ -Mmodule ] [ src.par ] [ program.pl ] parl.exe [ -B|-b ] [-Ooutfile] src.par ======================================================= Then I copy the parl.exe to c:\ and install strawberry-perl-5.10.4x86 under c:\strawberry. When I try to run the file c:\parl.exe, I got error ===================================================== C:\>parl.exe Can't load 'C:/strawberry/perl/lib/auto/IO/IO.dll' for module IO: load_file:%1 i s not a valid Win32 application at C:/strawberry/perl/lib/XSLoader.pm line 71. at C:/strawberry/perl/lib/IO.pm line 11 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. ========================================================= The parl.exe try to load some dll from C:/strawberry/perl/lib. But the dll files can't be loaded successful. Then I try to rename c:\strawberry to another name c:\strawberry_old and try to run c:\parl.exe again. This time , the parl.exe can be executed correctly. I restore the c:\strawberry_old to c:\strawberry. Then the issue takes place again. I also tried PAR-Packer-1.009 on strawberryperl-5.10.4x86. The parl.exe can work well no matter what version strawberry perl was installed to c:\strawberry. Could you help to look into this? Any further information needed, let me know Thanks Dengfeng -- --------------------------------------------------------- Market is wrong, But I am right!