Hi Monks,
I have ActivePerl 5.10.1.1006 installed. I convert my Perl scripts since some time now using the PAR module (
pp --output=pte.exe pte.pl).
Today, after changing the Perl code and using some more modules, I find the following message box.
The procedure entry point Perl_croak_xs_usage could not be located in the dynamic link library perl510.dll.
Afterwards the console says:
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Can't load 'C:/Perl/lib/auto/IO/IO.dll' for module IO: load_file:The s
+pecified procedure could not be found at C:/Perl/lib/XSLoader.pm line
+ 70.
at C:/Perl/lib/IO.pm line 11
Compilation failed in require at C:/Perl/lib/IO/Handle.pm line 266.
BEGIN failed--compilation aborted at C:/Perl/lib/IO/Handle.pm line 266
+.
Compilation failed in require at C:/Perl/lib/IO/Seekable.pm line 101.
BEGIN failed--compilation aborted at C:/Perl/lib/IO/Seekable.pm line 1
+01.
Compilation failed in require at C:/Perl/lib/IO/File.pm line 133.
BEGIN failed--compilation aborted at C:/Perl/lib/IO/File.pm line 133.
Compilation failed in require at -e line 448.
C:\Perl\site\bin/pp: Failed to extract a parl from 'PAR::StrippedPARL:
+:Static' to file 'parl1JrEi1a.exe' at C:/Perl/site/lib/PAR/Packer.pm
+line 1155, <DATA> line 1.
First suggestions in CB were:
> - Most likely you've overwritten the wrong DLL
> or are trying to launch a perl.exe that was
> for Perl 5.8.
Seems that this is not the reason, since I have no Perl 5.8 installed and nothing changed here in the last time.
> - Well, to answer your question as per your
> phrasing ("any suggestions?") I'd recompile the
> Perl module code you're using so that it matches
> the version of Perl you're running, markuhs.
How to do that on Windows?
How to find out, which module it was?
How to find out the "Perl version" of the module?
I only installed perl modules using "ppm" and the perl5.10 repositories...
Thanks
Lukas
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.