On Mon, Oct 26, 2009 at 11:31:14AM -0500, Shawn Walker wrote:
> Gavin Maltby wrote:
>> 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.
>
> And to be clear, that package damage is likely the result of using CPAN  
> to install and manipulate files modules.  pkg verify or pkg fix should  
> be able to either tell you what is wrong or fix what is there.
>
> Cheers,

But the package damage is probably in the old boot environment, not
the new one.  That would be where you used cpan, and where your
application therefore worked correctly.  The newly installed boot
environment probably has the stock perl installation, without those
modifications.

It's probably not recommended, but a quick and dirty fix (which I have
used in the past, to keep squeezecenter running) is to simply mount
the old boot environment and copy over the entire /usr/perl5 directory
from old to new.  If you do that with the new boot environment active,
then anything using perl (like the intrd service) will be interrupted.
I say "probably not recommended," because that merely propagates the
changes, but does nothing to prevent similar problems from recurring.

--Mark
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to