in reply to Can't locate loadable module error for XML::LibXSLT on Strawberry Perl

We have scoured the Net, and we have done the following remedial measures already;
Thats not it. Your problem is the same as you had before, manage your path, and cut and paste your error messages, don't retype them (there is no xslApplyStyleSheetUser).
  • Comment on Re: Can't locate loadable module error for XML::LibXSLT on Strawberry Perl

Replies are listed 'Best First'.
Re^2: Can't locate loadable module error for XML::LibXSLT on Strawberry Perl
by jey_suresh (Novice) on Jun 12, 2008 at 12:21 UTC
    My apologies: the correct procedure is "xslApplyStylesheetUser" and not "xslApplyStyleSheetUser" as I had put in my OP. This thing pops up as an uncopyable dialog box. So, I had to type it. :-(

    My path is:
     C:\strawberry\c\bin;C:\strawberry\perl\bin; %SystemRoot%\system32; %SystemRoot%; %SystemRoot%\System32\Wbem;
    As you can see, there is hardly anything else to cloud the waters.

    The error message we get is as follows:

    > "C:\strawberry\perl\bin\perl5.10.0.exe" part3a.pl .xs.dll Can't locate loadable object for module XML::LibXSLT in @INC (@INC con +tains: C:/strawberry/perl/lib C:/strawberry/perl/site/lib .) at C:/st +rawberry/perl/site/lib/XML/LibXSLT.pm line 43 BEGIN failed--compilation aborted at C:/strawberry/perl/site/lib/XML/L +ibXSLT.pm line 43. Compilation failed in require at RosieStock.pm line 4. BEGIN failed--compilation aborted at RosieStock.pm line 4. Compilation failed in require at part3a.pl line 4. BEGIN failed--compilation aborted at part3a.pl line 4. > Terminated with exit code 2.

    Also, if you look at the link in my OP, the 'wrapper' dll used by XML::LibXSLT is uniquely (re)named -- LibXSLT.xs.dll as compared to the Win32 binaries libxslt.dll and libexslt.dll, that are being used. Your ciritisms are well intentioned and well taken, but we have definitely learnt from our previous mistakes and calibrated accordingly.

    Regards,
    Suresh.

    P.S: Instead of an anonymous post, you could post with your original name?

      My apologies: the correct procedure is "xslApplyStylesheetUser" and not "xslApplyStyleSheetUser" as I had put in my OP.
      Nope, its xsltApplyStylesheetUser.

      This thing pops up as an uncopyable dialog box. So, I had to type it. :-(
      Try using "Event Viewer".

      compared to the Win32 binaries libxslt.dll and libexslt.dll, that are being used.

      The names have changed, but its the same problem. Your LibXSLT.xs.dll is loading some libxslt.dll which does not have xsltApplyStylesheetUser (its the wrong version, wrong library). You say you verified with "dependency walker", so it must be a path issue.

      Your ciritisms are well intentioned and well taken, but we have definitely learnt from our previous mistakes and calibrated accordingly.
      The typos say otherwise :)

        Thanks for all of your comments. I do not want this to degenerate any more than it already has. So, let me stick to the essentials.

        The names have changed, but its the same problem. Your LibXSLT.xs.dll is loading some libxslt.dll which does not have xsltApplyStylesheetUser (its the wrong version, wrong library). You say you verified with "dependency walker", so it must be a path issue.

        As I mentioned in the OP, it is a clean install. There are _no_ other applications except the OS. A search on Windows for "*xslt*.dll" returns "libxslt.dll" and libexslt.dll -- both from C:\Strawberry\Perl\bin. I also mentioned that the error we get now is the "Can't locate the loadable module" error. If what you say is correct, I will still get the dialog box popping at me (which is not what is happening now). Perhaps, I am not following your point of view. Or perhaps you would be kind enough to elaborate a little more, or explain things differently.

        Thanks (no, honestly),
        Suresh.