Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Help required installing LibXML Parser

by KarthikK (Sexton)
on Dec 20, 2007 at 09:47 UTC ( [id://658088]=note: print w/replies, xml ) Need Help??


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

Hello Randy,
Your explantion was simply great! i did exactly the same and CQPERL parser does not crash! also i had put the libxml2.dll into my "C:\Program Files\Rational\Common" folder.

I did set path on cmd and i got the following:
Path=C:\Program Files\ActiveState Perl Dev Kit 7.0\bin;C:\Perl\bin;C:\ +Program Files\ActiveState Komodo IDE 4.2\;C:\WINNT\system32;C:\WINNT; +C:\WINNT\System32\Wbem;C:\Program Files\Rational\common;C:\Program Fi +les\Rational\ClearCase\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
Hence i had placd the libxml2.dll in "C:\Program Files\Rational\Common"

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/DynaLoader.pm line 2 +06. at C:/Program Files/Rational/Common/lib/perl5/site_perl/5.6.1/XML/Lib +XML.pm lin e 12 Compilation failed in require at C:/Program Files/Rational/Common/lib/ +perl5/site _perl/5.6.1/XML/LibXML.pm line 12. BEGIN failed--compilation aborted at C:/Program Files/Rational/Common/ +lib/perl5/ site_perl/5.6.1/XML/LibXML.pm line 12. Compilation failed in require at libxml_test.pl line 6. BEGIN failed--compilation aborted at libxml_test.pl line 6.
I am not sure if the libxml2.dll could be the problem?

Thanks once again a lot

best regards
Karthik

Replies are listed 'Best First'.
Re^5: Help required installing LibXML Parser
by randyk (Parson) on Dec 20, 2007 at 15:23 UTC
    One problem might be is that you have another libxml2.dll somewhere in your PATH which is a different version than the one XML::LibXML::Common was compiled with. Try searching within the directories of your PATH for another one, and if one is found, move it out of the way (temporarily, in case it's needed for some other application).
      No where libxml2.dll is insalled. even i deleted the dll but still i get the same error
      Regards
      Karthik
        If you put the libxml2.dll in C:\WINNT\system32, and then run
        C:\> perl -MXML::LibXML::Common -e "print 1"
        does that produce an error? If so, is it the same error as before?
      I was analysing the Install_libxml2 from http://theoryx5.uwinnipeg.ca/ppmpackages/scripts/install_libxml2 and i tried to copied and few code and ran the script via CQPERL and it said BIN path for CQPERL is
      \public\ratlperl\5.6.1_AS629\bin
      which is no where present. I assume this is the directory struture of the CQPERL Build.
        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?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-25 13:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found