Skip Menu |
 

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 69611
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: nimhurchu [...] web.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Re: Strawberry Perl and XML::LibXML
Date: Wed, 20 Jul 2011 13:12:41 +0200
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: NiMhurchu <nimhurchu [...] web.de>
Download (untitled) / with headers
text/plain 2.8k
Hi all, I renamed a copy of libxml2.dll and iconv.dll to libxml2-2__.dll and libiconv-2__.dll. Process Monitor now displays a successful read. Nevertheless when attempting to run the script, it throws the following error message: Can't load 'C:\PortableApps\PortableApps\Perl\perl\vendor\lib/auto/XML/LibXML/LibXML.dll' for module XML::LibXML: load_file:%1 ist keine zulõssige Win32-Anwendung at C:/PortableApps/PortableApps/Perl/perl/lib/DynaLoader.pm line 200. (^^ ist keine zulässige Win32-Anwendung := is not a valid Win32 application) at C:/PortableApps/PortableApps/Perl/perl/lib/DynaLoader.pm line 153 BEGIN failed--compilation aborted at C:\PortableApps\PortableApps\Perl\perl\vendor\lib/XML/LibXML.pm line 153. Compilation failed in require at D:\Dokumente\Perl\flip\flip2.pl line 22. BEGIN failed--compilation aborted at D:\Dokumente\Perl\flip\flip2.pl line 22.Drücken Sie eine beliebige Taste . . . What else can I do to get XML::LibXML running? Thanks alot. Hans On 20.07.2011 13:00, NiMhurchu wrote: Show quoted text
> Hi all, > > I have downloaded strawberry-perl-5.12.3.0-64bit.zip from > http://strawberryperl.com/download/5.12.3.0/. > I use this version on Windows 7 SP1 64bit. The extracted files sit in > c:\portableapps\portableapps\perl. > perl\bin\perl.exe relocation.pl.bat ran successfully. I did not run > perl\bin\perl.exe update_env.pl.bat, because > I prepend all paths manually (e. g. > c:\portableapps\portableapps\per\perl\bin\perl.exe script.pl). > > I had a hard time unsuccessfully attempting to get XML::LibXML > installed until I realized that it already is > part of the package in the \vendor folder. libxml2.dll sits in > "C:\PortableApps\PortableApps\Perl\perl\vendor\lib\auto\XML\LibXML\LibXML.dll" > > So I used "use lib > 'C:/PortableApps/PortableApps/Perl/perl/vendor/lib';" to have Perl > search for it in that > folder. > > Nevertheless Perl would not begin/compile: > Can't load > 'C:/PortableApps/PortableApps/Perl/perl/vendor/lib/auto/XML/LibXML/LibXML.dll' > for module XML::LibXML: > load_file: Das angegebene Modul wurde nicht gefunden at > C:/PortableApps/PortableApps/Perl/perl/lib/DynaLoader.pm > (^^ "Das angegebene Modul wurde nicht gefunden := the requested module > could not be found). > line 200. at C:/PortableApps/PortableApps/Perl/perl/lib/DynaLoader.pm > line 153 > BEGIN failed--compilation aborted at > C:/PortableApps/PortableApps/Perl/perl/vendor/lib/XML/LibXML.pm line 153. > Compilation failed in require at D:\Dokumente\Perl\flip\flip2.pl line 21. > BEGIN failed--compilation aborted at D:\Dokumente\Perl\flip\flip2.pl > line 21. > > An investigation with Sysinternal's Process Monitor shows that Perl is > looking for > C:\PortableApps\PortableApps\Perl\perl\vendor\lib\auto\XML\LibXML\*libxml2-2__.dll* > rather than > C:\PortableApps\PortableApps\Perl\perl\vendor\lib\auto\XML\LibXML\libxml2.dll > > Is that correct? > > Best Regards, > > Hans > > >


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.