If you have dumpbin.exe on your system, and you run it against the module named in the very first error message:

Can't load 'C:/Perl/lib/auto/IO/IO.dll' for module IO: load_file: The specified procedure could not be found at C:/Perl/lib/XSLoader.pm +line 70.

You'll find that it attempts to import this entrypoint (amongst many others), from perl510.dll:

C:\test>dumpbin /imports \perl64\lib\auto\IO\IO.dll Microsoft (R) COFF/PE Dumper Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file \perl64\lib\auto\IO\IO.dll File Type: DLL Section contains the following imports: perl510.dll ... 42E Perl_sv_newmortal 21C Perl_croak_xs_usage 8F PerlIO_tmpfile ...

And if you dump the exports from perl510.dll, you should see it there:

C:\test>dumpbin /exports \perl64\bin\perl510.dll | find "usage" 541 21C 00035690 Perl_croak_xs_usage

For it not to be found in the DLL (you'd get a different error if the DLL wasn't found), suggests that the entrypoint is either:

  1. being exported under different name.

    Unlikely if this is a AS install.

  2. being imported under a different name (by IO.dll).

    Again unlikely as IO.dll comes with the AS distribution.

My guess is that one or other (or both) of those two DLLs is being embedded in your .par and being found instead of those in your current AS distribution.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP PCW It is as I've been saying!(Audio until 20090817)

In reply to Re: Perl_croak_xs_usage problem by BrowserUk
in thread Perl_croak_xs_usage problem by markuhs

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.