Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^6: Help required installing LibXML Parser

by KarthikK (Sexton)
on Dec 20, 2007 at 17:06 UTC ( #658176=note: print w/ replies, xml ) Need Help??

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

I was analysing the Install_libxml2 from and i tried to copied and few code and ran the script via CQPERL and it said BIN path for CQPERL is

which is no where present. I assume this is the directory struture of the CQPERL Build.

Comment on Re^6: Help required installing LibXML Parser
Download Code
Replies are listed 'Best First'.
Re^7: Help required installing LibXML Parser
by randyk (Parson) on Dec 20, 2007 at 21:41 UTC
    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?
      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!
      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"

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2015-11-30 03:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (757 votes), past polls