Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^7: Help required installing LibXML Parser

by randyk (Parson)
on Dec 20, 2007 at 21:41 UTC ( #658286=note: print w/replies, xml ) Need Help??

in reply to Re^6: Help required installing LibXML Parser
in thread Help required installing LibXML Parser

That is a strange result - it suggests that some of the configuration information in your Perl installation has some values probably set from the machine where it was built, and hence don't necessarily match your system. That may be contributing to the problem. What happens when you run:
C:\> set PERL_DL_DEBUG=1 C:\> perl -MXML::LibXML -e "print 1"
Also, what happens if you place libxml2.dll in the same subdirectory as Common.dll, which is used by XML::LibXML::Common?

Replies are listed 'Best First'.
Re^8: Help required installing LibXML Parser
by KarthikK (Sexton) on Dec 21, 2007 at 09:12 UTC
    tried and got this loaded (C:/Program Files/Rational/Common/lib/perl5/5.6.1 +/MSWin32-x 86-multi-thread C:/Program Files/Rational/Common/lib/perl5/5.6.1 C:/Pr +ogram File s/Rational/Common/lib/perl5 C:/Program Files/Rational/Common/lib/perl5 +/site_perl /5.6.1/MSWin32-x86-multi-thread C:/Program Files/Rational/Common/lib/p +erl5/site_ perl/5.6.1 C:/Program Files/Rational/Common/lib/perl5/site_perl C:/Pro +gram Files /Rational/Common/lib/perl5/site_perl/5.6.1/MSWin32-x86-multi-thread C: +/Program F iles/Rational/Common/lib/perl5/site_perl/5.6.1 C:/Program Files/Ration +al/Common/ lib/perl5/site_perl ., \sys_nt\MSVC\nt_i386\lib) DynaLoader::bootstrap for XML::LibXML::Common (auto/XML/LibXML/Common/ +Common.dll ) Can't load 'C:/Program Files/Rational/Common/lib/perl5/site_perl/5.6.1 +/MSWin32-x 86-multi-thread/auto/XML/LibXML/Common/Common.dll' for module XML::Lib +XML::Commo n: load_file:The specified module could not be found at C:/Program Fil +es/Rationa l/Common/lib/perl5/5.6.1/MSWin32-x86-multi-thread/ line 2 +06. at C:/Program Files/Rational/Common/lib/perl5/site_perl/5.6.1/XML/Lib lin e 12 Compilation failed in require at C:/Program Files/Rational/Common/lib/ +perl5/site _perl/5.6.1/XML/ line 12. BEGIN failed--compilation aborted at C:/Program Files/Rational/Common/ +lib/perl5/ site_perl/5.6.1/XML/ line 12. Compilation failed in require. BEGIN failed--compilation aborted.
    the common.dll is present in C:/Program Files/Rational/Common/lib/perl5/site_perl/5.6.1/MSWin32-x86-multi-thread/auto/XML/LibXML/Common/ folder

    Also i tried placing the libxml2.dll in the same folder as common, but still i get the same error!
Re^8: Help required installing LibXML Parser
by KarthikK (Sexton) on Dec 21, 2007 at 10:18 UTC
    Just for the record, below are the list of files i have
    C:\Program Files\Rational\Common\lib\perl5\site_perl\5.6.1\MSWin32-x86 +-multi-thread\auto\XML „₯„Ÿ„Ÿ„ŸLibXML „  „ „  „  LibXML.dll „  „  LibXML.exp „  „  LibXML.lib „  „  LibXML.pdb „  „  „  „€„Ÿ„Ÿ„ŸCommon „ „  Common.dll „  Common.exp „  Common.lib „  Common.pdb „  „₯„Ÿ„Ÿ„ŸNamespaceSupport „€„Ÿ„Ÿ„ŸSAX
    C:\Program Files\Rational\Common\lib\perl5\site_perl\5.6.1\XML „ „  LibXML.pod „ „ „  „₯„Ÿ„Ÿ„ŸLibXML „  Attr.pod „ „  CDATASection.pod „  Comment.pod „ „  Document.pod „  DocumentFragment.pod „  DOM.pod „  Dtd.pod „  Element.pod „  InputCallback.pod „ „  Namespace.pod „  Node.pod „ „ „  Parser.pod „  PI.pod „ „  Reader.pod „  RelaxNG.pod „ „  SAX.pod „  Schema.pod „  Text.pod „ „  XPathContext.pod „  „€„Ÿ„Ÿ„ŸSAX „ „ „  Builder.pod „ „ „ „  Intro.pod „ „ „ „ „ „ „  „€„Ÿ„Ÿ„ŸPurePerl „ „ „ „ „ „ „ „ „ „  „€„Ÿ„Ÿ„ŸReader

    And libxml2.dll is placed in
    C:\Program Files\Rational\Common\libxml2.dll
    i hope this could throw some light!
      I'm afraid I'm a bit stumped - everything above looks OK. Just to see if it might be a binary incompatibility problem with your version of Perl, could you try installing the GD module; the ppm sources GD.tar.gz are again at After installation, does
      C:\> perl -MGD -e "print 1"
        will do it on monday (@ work pc) and will update. Thanks a lot once again
        Nope got the following error
        U:\>cqperl -MGD -e "print 1" Extracting -e (with variable substitutions) Can't locate loadable object for module GD in @INC (@INC contains: C:/ +Program Fi les/Rational/Common/lib/perl5/5.6.1/MSWin32-x86-multi-thread C:/Progra +m Files/Ra tional/Common/lib/perl5/5.6.1 C:/Program Files/Rational/Common/lib/per +l5 C:/Prog ram Files/Rational/Common/lib/perl5/site_perl/5.6.1/MSWin32-x86-multi- +thread C:/ Program Files/Rational/Common/lib/perl5/site_perl/5.6.1 C:/Program Fil +es/Rationa l/Common/lib/perl5/site_perl C:/Program Files/Rational/Common/lib/perl +5/site_per l/5.6.1/MSWin32-x86-multi-thread C:/Program Files/Rational/Common/lib/ +perl5/site _perl/5.6.1 C:/Program Files/Rational/Common/lib/perl5/site_perl .) at + -e line 0 Compilation failed in require. BEGIN failed--compilation aborted.
        i just copied the files to the C:/Program Files/Rational/Common/lib/perl5/site _perl/5.6.1 folder

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://658286]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2021-02-26 16:49 GMT
Find Nodes?
    Voting Booth?

    No recent polls found