Hi,

solarg wrote:
hello all,
i have a web app that do a huge use of perl modules.
After upgrading, my app is broken, and i notice:
r...@koha2:~# /usr/perl5/5.8.4/bin/cpan
IO object version 1.21 does not match bootstrap parameter 1.23 at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/XSLoader.pm line 91.

I suspect pkg damage.  I think someone else reported a similar
experience.

For each of the Perl packages, or at least the ones for the objects
mentioned here, run a pkg fix.

e.g., for /usr/perl5/5.8.4/lib/FileHandle.pm

$ pkg search -l /usr/perl5/5.8.4/lib/FileHandle.pm
INDEX      ACTION VALUE                             PACKAGE
path       file   usr/perl5/5.8.4/lib/FileHandle.pm 
pkg:/[email protected]

$ pkg verify SUNWperl584core

If there are complaints evaluate them and consider:

$ pkg fix SUNWperl584core

Compilation failed in require at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/IO/Handle.pm line 263. BEGIN failed--compilation aborted at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/IO/Handle.pm line 263. Compilation failed in require at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/IO/Seekable.pm line 101. BEGIN failed--compilation aborted at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/IO/Seekable.pm line 101. Compilation failed in require at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/IO/File.pm line 133. BEGIN failed--compilation aborted at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/IO/File.pm line 133.
Compilation failed in require at /usr/perl5/5.8.4/lib/FileHandle.pm line 9.
Compilation failed in require at /usr/perl5/5.8.4/lib/CPAN.pm line 21.
BEGIN failed--compilation aborted at /usr/perl5/5.8.4/lib/CPAN.pm line 21.
Compilation failed in require at /usr/perl5/5.8.4/bin/cpan line 119.
BEGIN failed--compilation aborted at /usr/perl5/5.8.4/bin/cpan line 119.

Why these errors are possible? what's the best way to get rid of them?

To answer the how you could preserve a snapshot of the installation before
attempting verify and fix.  Not sure what to look for.

Gavin
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to