I found a few hits on this error, but nothing that clearly applied to my problem. If the answer is already out there, I apologize. Just point me there and I'll go away quietly... ;)
I'm creating a standalone .exe in windows 2000 using pp.
The resulting .exe file runs fine on the system where I created it. But if I copy it to a system where there is no perl installation I get the following error:
"Can't locate XSLoader.pm in @INC (@INC contains: CODE(0x9fb134) .) at -e line 345"
I've run pp with the -l switch and specified all of the perl lib directories. I've also specifically included the XSLoader.pm file with the -a switch. In the verbose output from pp I can see that XSLoader.pm has been included in the archive.
Here's the pp command I used:
pp -vvv -B -l C:\strawberry\perl\lib -l C:\strawberry\perl\site\lib -a C:\strawberry\perl\lib\XSLoader.pm -o crypttest.exe cryptpw.pl
What am I missing?
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.