in reply to Re: Unable to load LibXSLT.dll on Perl 5.16
in thread Unable to load LibXSLT.dll on Perl 5.16

Thanks for the reply.

True. Few modules were missing. So,I used CPAN to install the required modules. It was easy to download the modules using CPAN and PPM. Unfortunately I found problems with LibXML and LibXSLT. I had used "PPM install XML::LibXML" to install supporting files. Hence LibXML issue was solved. Similarly i tried the same for XML::LibXSLT. But this did not work out because there is no supporting files as described in "http://code.activestate.com/ppm/XML-LibXSLT/".

So I tried all the possible ways to build .dll files for LibXSLT. But none of them supported my machine.

Henceforth I copied the LibXSLT that comes with strawberry perl and it worked smoothly on 32 bit machine

Similarly I tried on 64 bit machine. But they did not support

I would like to know is there any possible way to solve this?

Thanks
  • Comment on Re^2: Unable to load LibXSLT.dll on Perl 5.16

Replies are listed 'Best First'.
Re^3: Unable to load LibXSLT.dll on Perl 5.16
by marto (Cardinal) on May 24, 2013 at 09:58 UTC

    When working on Microsoft Windows I use Strawberry Perl, it comes with everything I need out of the box (C compiler, build tools) and has many handy modules bundeled, including the one you have issue with. When installing modules it's important to actually read the documentation. Many modules rely on third party tools or libraries. The README explains what is required to build this module.

    "Henceforth I copied the LibXSLT that comes with strawberry perl and it worked smoothly on 32 bit machine

    Similarly I tried on 64 bit machine. But they did not support"

    Yeah, this isn't going to work, they're different architectures, the code has been compiled for one target and you expect it to work on another. This isn't going to happen.

Re^3: Unable to load LibXSLT.dll on Perl 5.16
by Corion (Patriarch) on May 24, 2013 at 09:16 UTC

    64-bit and 32-bit are different.

    Why do you expect 32-bit DLLs to work with a 64-bit Perl?

    Have you considered using the 64bit Perl releases of Strawberry Perl? They come with XML::LibXML included.

    Building XML::LibXML needs external libraries and reading the documentation of XML::LibXML. If that is not to your liking, I recommend using Strawberry Perl.

      OK:) So i tried copying LibXSLT of 64 bit Strawberry Pearl. But this did not work. My Organisation does not support for Strawberry Perl moreover i have completed most of my work in Active perl itself. Kindly suggest if there is any other possible way

      Thanks jes

        I suggest you stop copying things around in an attempt to build a reliable working environment. Learn how to install modules correctly within your chosen environment and tools. Links to existing documentation have already been provided.

        Learn how to install things properly.

        Perl modules that require C extensions cannot be easily copied if you don't know what you are doing.

        LibXSLT.dll requires other DLLs from the libxml package. If you don't know which ones, I recommend you keep the Perl 5.6.1 you already have working and copy that one instead of trying to move to a newer Perl version without the capability of installing all required modules.