Ask a Question related to PERL Modules, Design and Development.
-
Jonathan #1
XML::LibXSLT, can't loadLibXSLT.dll
Hi,
I hope someone has seen this before, I could only find one other
posting on the this problem but their fix doesn't apply here.
I've installed XML::LibXSLT on a brand new install of Windows 2000
with ActivePerl 5.8.6.811 and all the required modules and DLLs to
support XML::LibXSLT, I got all the modules and DLLs from
[url]http://theoryx5.uwinnipeg.ca/ppms/[/url], the install, using PPM 3 didn't
report any errors, see the install log at the end of this message, but
I keep getting this error:
Can't load 'C:/Perl/site/lib/auto/XML/LibXSLT/LibXSLT.dll' for module
XML::LibXSLT: load_file:The specified module could not be found at
C:/Perl/lib/DynaLoader.pm line 230.
The code I'm running is part of a larger test script this bit checks
that certain modules have been installed:
print <<end ;
</pre></blockquote>
<hr><b>Testing for the presence of required perl modules</b>
(perl is version $])
<blockquote><pre>
end
my(@modules) = qw( GD Cwd LWP FileHandle CGI Pod::Html
Search::Dict Text::Wrap
POSIX URI MD5 MIME::Base64 HTML::Parser Net::FTP
Net::SMTP
XML::Parser XML::RegExp XML::DOM
XML::LibXML::Common XML::NamespaceSupport
XML::Sax XML::LibXML XML::LibXSLT);
push(@modules,qw(Win32::API Win32::AdminMisc))
unless ($unix);
foreach $module_name (@modules) {
eval "use $module_name";
if ($@) {
print("$module_name <font color=red>Missing/Not
installed\n$@</font>\n");
}
else {
$lwpok=1 if ($module_name eq "LWP"); # needed later on!
no strict "refs";
eval qq{
use $module_name;
my(\$v)="???";
\$v=\$${module_name}::VERSION if defined
\$${module_name}::VERSION;
printf("Found module %-20s Version \$v\n",\$module_name);
}
}
}
Log of installing modules with PPM:
C:\install>ppm install XML-LibXSLT.ppd
====================
Install 'XML-NamespaceSupport' version 1.08 in ActivePerl 5.8.6.811.
====================
Installing C:\Perl\html\site\lib\XML\NamespaceSupport.html
Installing C:\Perl\site\lib\XML\NamespaceSupport.pm
Successfully installed XML-NamespaceSupport version 1.08 in ActivePerl
5.8.6.811
..
====================
Install 'XML-SAX' version 0.12 in ActivePerl 5.8.6.811.
====================
Installing C:\Perl\html\site\lib\XML\SAX.html
Installing C:\Perl\html\site\lib\XML\SAX\Base.html
Installing C:\Perl\html\site\lib\XML\SAX\DocumentLocator.html
Installing C:\Perl\html\site\lib\XML\SAX\Exception.html
Installing C:\Perl\html\site\lib\XML\SAX\Intro.html
Installing C:\Perl\html\site\lib\XML\SAX\ParserFactory.html
Installing C:\Perl\html\site\lib\XML\SAX\PurePerl.html
Installing C:\Perl\html\site\lib\XML\SAX\PurePerl\Reader.html
Installing C:\Perl\site\lib\XML\SAX.pm
Installing C:\Perl\site\lib\XML\SAX\Base.pm
Installing C:\Perl\site\lib\XML\SAX\DocumentLocator.pm
Installing C:\Perl\site\lib\XML\SAX\Exception.pm
Installing C:\Perl\site\lib\XML\SAX\Intro.pod
Installing C:\Perl\site\lib\XML\SAX\ParserFactory.pm
Installing C:\Perl\site\lib\XML\SAX\placeholder.pl
Installing C:\Perl\site\lib\XML\SAX\PurePerl.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\DebugHandler.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\DocType.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\DTDDecls.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\EncodingDetect.p m
Installing C:\Perl\site\lib\XML\SAX\PurePerl\Exception.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\NoUnicodeExt.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\Productions.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\Reader.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\UnicodeExt.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\XMLDecl.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\Reader\NoUnicode Ext.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\Reader\Stream.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\Reader\String.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\Reader\UnicodeEx t.pm
Installing C:\Perl\site\lib\XML\SAX\PurePerl\Reader\URI.pm
Do you want to alter ParserDetails.ini? [yes]
C:\Perl\bin\perl.exe -MXML::SAX -e
"XML::SAX->add_parser(q(XML::SAX::PurePerl))-Successfully installed XML-SAX version 0.12 in ActivePerl 5.8.6.811.>save_parsers()"
====================
Install 'XML-NamespaceSupport' version 1.08 in ActivePerl 5.8.6.811.
====================
Successfully installed XML-NamespaceSupport version 1.08 in ActivePerl
5.8.6.811
..
====================
Install 'XML-LibXML-Common' version 0.13 in ActivePerl 5.8.6.811.
====================
Installing C:\Perl\site\lib\auto\XML\LibXML\Common\Common.bs
Installing C:\Perl\site\lib\auto\XML\LibXML\Common\Common.dll
Installing C:\Perl\site\lib\auto\XML\LibXML\Common\Common.exp
Installing C:\Perl\site\lib\auto\XML\LibXML\Common\Common.lib
Installing C:\Perl\html\site\lib\XML\LibXML\Common.html
Files found in blib\arch: installing files in blib\lib into
architecture depende
nt library tree
Installing C:\Perl\site\lib\XML\LibXML\Common.pm
A copy of the needed library libxml2.dll was found in
C:\Perl\bin. If this is compatible with the version (2.6.11)
used to compile the Perl module, all that is needed to
complete the installation is to ensure
C:\Perl\bin is in your PATH environment variable.
Fetch libxml2.dll? [no]
Aborting download of libxml2.dll.
Successfully installed XML-LibXML-Common version 0.13 in ActivePerl
5.8.6.811.
====================
Install 'XML-LibXML' version 1.58 in ActivePerl 5.8.6.811.
====================
Installing C:\Perl\site\lib\auto\XML\LibXML\LibXML.bs
Installing C:\Perl\site\lib\auto\XML\LibXML\LibXML.dll
Installing C:\Perl\site\lib\auto\XML\LibXML\LibXML.exp
Installing C:\Perl\site\lib\auto\XML\LibXML\LibXML.lib
Installing C:\Perl\html\site\lib\XML\LibXML.html
Installing C:\Perl\html\site\lib\XML\LibXML\Attr.html
Installing C:\Perl\html\site\lib\XML\LibXML\Boolean.html
Installing C:\Perl\html\site\lib\XML\LibXML\CDATASection.html
Installing C:\Perl\html\site\lib\XML\LibXML\Comment.html
Installing C:\Perl\html\site\lib\XML\LibXML\Document.html
Installing C:\Perl\html\site\lib\XML\LibXML\DocumentFragment. html
Installing C:\Perl\html\site\lib\XML\LibXML\DOM.html
Installing C:\Perl\html\site\lib\XML\LibXML\Dtd.html
Installing C:\Perl\html\site\lib\XML\LibXML\Element.html
Installing C:\Perl\html\site\lib\XML\LibXML\Literal.html
Installing C:\Perl\html\site\lib\XML\LibXML\Namespace.html
Installing C:\Perl\html\site\lib\XML\LibXML\Node.html
Installing C:\Perl\html\site\lib\XML\LibXML\NodeList.html
Installing C:\Perl\html\site\lib\XML\LibXML\Number.html
Installing C:\Perl\html\site\lib\XML\LibXML\Parser.html
Installing C:\Perl\html\site\lib\XML\LibXML\PI.html
Installing C:\Perl\html\site\lib\XML\LibXML\RelaxNG.html
Installing C:\Perl\html\site\lib\XML\LibXML\SAX.html
Installing C:\Perl\html\site\lib\XML\LibXML\Schema.html
Installing C:\Perl\html\site\lib\XML\LibXML\Text.html
Installing C:\Perl\html\site\lib\XML\LibXML\SAX\Builder.html
Installing C:\Perl\html\site\lib\XML\LibXML\SAX\Generator.htm l
Files found in blib\arch: installing files in blib\lib into
architecture depende
nt library tree
Installing C:\Perl\site\lib\XML\LibXML.pm
Installing C:\Perl\site\lib\XML\LibXML.pod
Installing C:\Perl\site\lib\XML\LibXML\Attr.pod
Installing C:\Perl\site\lib\XML\LibXML\Boolean.pm
Installing C:\Perl\site\lib\XML\LibXML\CDATASection.pod
Installing C:\Perl\site\lib\XML\LibXML\Comment.pod
Installing C:\Perl\site\lib\XML\LibXML\Document.pod
Installing C:\Perl\site\lib\XML\LibXML\DocumentFragment.pod
Installing C:\Perl\site\lib\XML\LibXML\DOM.pod
Installing C:\Perl\site\lib\XML\LibXML\Dtd.pod
Installing C:\Perl\site\lib\XML\LibXML\Element.pod
Installing C:\Perl\site\lib\XML\LibXML\Literal.pm
Installing C:\Perl\site\lib\XML\LibXML\Namespace.pod
Installing C:\Perl\site\lib\XML\LibXML\Node.pod
Installing C:\Perl\site\lib\XML\LibXML\NodeList.pm
Installing C:\Perl\site\lib\XML\LibXML\Number.pm
Installing C:\Perl\site\lib\XML\LibXML\Parser.pod
Installing C:\Perl\site\lib\XML\LibXML\PI.pod
Installing C:\Perl\site\lib\XML\LibXML\RelaxNG.pod
Installing C:\Perl\site\lib\XML\LibXML\SAX.pm
Installing C:\Perl\site\lib\XML\LibXML\SAX.pod
Installing C:\Perl\site\lib\XML\LibXML\Schema.pod
Installing C:\Perl\site\lib\XML\LibXML\Text.pod
Installing C:\Perl\site\lib\XML\LibXML\SAX\Builder.pm
Installing C:\Perl\site\lib\XML\LibXML\SAX\Builder.pod
Installing C:\Perl\site\lib\XML\LibXML\SAX\Generator.pm
Installing C:\Perl\site\lib\XML\LibXML\SAX\Parser.pm
Successfully installed XML-LibXML version 1.58 in ActivePerl
5.8.6.811.
====================
Install 'XML-LibXSLT' version 1.57 in ActivePerl 5.8.6.811.
====================
Installing C:\Perl\site\lib\auto\XML\LibXSLT\LibXSLT.bs
Installing C:\Perl\site\lib\auto\XML\LibXSLT\LibXSLT.dll
Installing C:\Perl\site\lib\auto\XML\LibXSLT\LibXSLT.exp
Installing C:\Perl\site\lib\auto\XML\LibXSLT\LibXSLT.lib
Installing C:\Perl\html\site\lib\XML\LibXSLT.html
Files found in blib\arch: installing files in blib\lib into
architecture depende
nt library tree
Installing C:\Perl\site\lib\XML\benchmark.pl
Installing C:\Perl\site\lib\XML\LibXSLT.pm
A copy of the needed library libxslt_win32.dll was found in
/Perl/bin. If this is compatible with the version (1.1.8)
used to compile the Perl module, all that is needed to
complete the installation is to ensure
/Perl/bin is in your PATH environment variable.
Fetch libxslt_win32.dll? [no]
Aborting download of libxslt_win32.dll.
Successfully installed XML-LibXSLT version 1.57 in ActivePerl
5.8.6.811.
You'll notice I aborted the download of the required DLLs during the
install because I'd already installed them, having got them from
[url]http://theoryx5.uwinnipeg.ca/ppms/[/url] and also because the system is
airgapped and has no internet connectivity.
I've copied the required DLLs into \perl\bin to ensure they're seen:
Microsoft Windows 2000 [Version 5.00.2195] SP4
C:\Perl\bin>dir libx*
Volume in drive C has no label.
Volume Serial Number is 0E26-0EEE
Directory of C:\Perl\bin
16/03/2005 12:38 1,658,880 libxml2.dll
16/03/2005 15:32 146,944 libxslt_win32.dll
2 File(s) 1,805,824 bytes
0 Dir(s) 1,484,308,480 bytes free
And \perl\bin is in the path:
Path: C:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\S ystem32\Wbem
Lastly, I've searched c: for any other DLLs with the same names that
could be clashing but found none.
Does anyone have any ideas?
Thanks
Jonathan
Jonathan Guest
-
XML::LibXSLT element tags stripped out of transformation
Being extremely new to XML::LibXSLT and XML/XSL in general I have what I am assuming is a very newb question. I found an old post (dated 2001)... -
#26242 [Fbk->Opn]: XSLT instruction comment() doesn't work when libxslt is used
ID: 26242 User updated by: apetrenko at tmsoft-ltd dot com Reported By: apetrenko at tmsoft-ltd dot com -Status: ... -
#26242 [Opn->Fbk]: XSLT instruction comment() doesn't work when libxslt is used
ID: 26242 Updated by: rrichards@php.net Reported By: apetrenko at tmsoft-ltd dot com -Status: Open +Status: ... -
#26242 [NEW]: XSLT instruction comment() doesn't work when libxslt is used
From: apetrenko at tmsoft-ltd dot com Operating system: Windows PHP version: 4.3.4 PHP Bug Type: XSLT related Bug... -
LibXSLT
I want to compose a webform through several steps. There are several <select> statements that need to be filled with lookup values from a database.... -
Brian McCauley #2
Re: XML::LibXSLT, can't loadLibXSLT.dll
Jonathan wrote:
Perphaps if you'd tell us what that fix is then it would save us> I hope someone has seen this before, I could only find one other
> posting on the this problem but their fix doesn't apply here.
repeating ourselves.
Are you sure? With my build I need at least one DLL you don't mention>
> I've installed XML::LibXSLT on a brand new install of Windows 2000
> with ActivePerl 5.8.6.811 and all the required modules and DLLs to
> support XML::LibXSLT,
(iconv.dll and zlib1.dll IIRC) but then I tend to build these from from
source rather than grab Randy's build.
Brian McCauley Guest
-
jonathan #3
Re: XML::LibXSLT, can't loadLibXSLT.dll
The fix was to get the 5.8 modules and DLLs from Randy's site, the
other guy's problem was he was only using ActiveState's repository.
I've never come across those DLLs, as I understood it XML-LibXML needs
libxml2.dll and XML-LibXSLT needs libxslt_win32.dll, that's all Randy
suggestes as dependencies.
Jonathan
jonathan Guest
-
jonathan #4
Re: XML::LibXSLT, can't loadLibXSLT.dll
For future reference I fixed this problem by copying libexslt_win32.dll
(notice the e after lib) in c:\perl\bin. So, to recap, XML-LibXSLT
requires libxslt_win32.dll and libexslt_win32.dll in the search path.
Hope this helps someone.
Jonathan Hipkiss
jonathan wrote:needs> The fix was to get the 5.8 modules and DLLs from Randy's site, the
> other guy's problem was he was only using ActiveState's repository.
>
>
> I've never come across those DLLs, as I understood it XML-LibXML> libxml2.dll and XML-LibXSLT needs libxslt_win32.dll, that's all Randy
> suggestes as dependencies.
>
> Jonathanjonathan Guest



Reply With Quote

