Nalina has asked for the wisdom of the Perl Monks concerning the following question:

I installed xml::libxml using ppm. If i try to execute a perl script which uses this package, I get an error saying

The procedure entry point xmlGenericErrorContext could not be located in dynamic link library libxml2.dll

I tried googling the error, it says the problem may be with the version mismatch. Is it so? Which version of libxml2.dll should I install? please give me the link where I can get it.
Thanks in advance
Nalina

Replies are listed 'Best First'.
Re: Problem with xml::libxml
by PodMaster (Abbot) on Dec 21, 2005 at 08:17 UTC
    I tried googling the error, it says the problem may be with the version mismatch. Is it so?
    Yes
    Which version of libxml2.dll should I install? please give me the link where I can get it
    Whichever is required by your copy of XML::LibXML (which should've come with it). You can find out by examining site/lib/auto/XML/LibXML.dll with Dependency Walker.

    If you visit randy's repository, he has everything you need.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      I have installed yhe one which comes with XML::LIBXML, but still getting the error.
      Please help
        Then you have more than one. So either delete it, or make sure the correct one is in %PATH% first.

        MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
        I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
        ** The third rule of perl club is a statement of fact: pod is sexy.