Perl novice here so bear with me.
Recently we upgraded our development server from AIX 5.2 ML 8 to AIX 5.2 ML 10, which was supposed to leave perl untouched. This morning one of my team members recieved these errors running a script.
Here are the errors I am receiving:
MIME::Base64 object version 2.12 does not match bootstrap parameter 3.07 at /usr/opt/perl5/lib/5.8.0
/aix-thread-multi/XSLoader.pm line 106.
Compilation failed in require at /usr/opt/perl5/lib/site_perl/5.8.0/MIME/Words.pm line 85.
BEGIN failed--compilation aborted at /usr/opt/perl5/lib/site_perl/5.8.0/MIME/Words.pm line 85.
Compilation failed in require at /usr/opt/perl5/lib/site_perl/5.8.0/MIME/Head.pm line 123.
BEGIN failed--compilation aborted at /usr/opt/perl5/lib/site_perl/5.8.0/MIME/Head.pm line 123.
Compilation failed in require at /usr/opt/perl5/lib/site_perl/5.8.0/MIME/Entity.pm line 235.
BEGIN failed--compilation aborted at /usr/opt/perl5/lib/site_perl/5.8.0/MIME/Entity.pm line 235.
Compilation failed in require at /tledevl/scripts/perl/hms_send_email_attachment.pl line 18.
BEGIN failed--compilation aborted at /tledevl/scripts/perl/hms_send_email_attachment.pl line 18.
The same script was run on our test server which is still at ML 8 and it worked.
I looked at the perl files and the script and did compares between the development and test versions, and i got no differences, so they did not change.
It looks like the failures are occurring on statements like the following
+18 use MIME::Entity;
above is the line from our script that is failing; the ones in the .pm files are failing on similar lines where a use MIME is happening.
Any idea what is going on here?
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.