Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: More on "IO object version does not match bootstrap parameter" error

by Anonymous Monk
on Dec 15, 2013 at 20:19 UTC ( [id://1067250]=note: print w/replies, xml ) Need Help??


in reply to More on "IO object version does not match bootstrap parameter" error

I just struugled through this problem. I fixed it by noticing that some modules I installed via sudo /usr/bin/cpan were installed with a umask 027, meaning that I, as "other", saw an inconsistent view of my Perl library space. When I fixed the permissions, the problem went away.

To address why perl loads the latest IO.pm but an older IO.so, assume the latest IO.so is mode r-xr-x--- (550). Perl will try to load the first readable IO.so it can find, which won't match the latest IO.pm

Replies are listed 'Best First'.
Re^2: More on "IO object version does not match bootstrap parameter" error
by Preceptor (Deacon) on Aug 06, 2014 at 10:12 UTC

    A bit of an old thread, but it solved my problem so I shall comment. Some of my mods were installed without global Read/Write, and so version mismatches were occurring when running as e.g. root vs. not root.

    chmod -R a+rX /usr/local/lib/perl5/site_perl/5.18.1

    Resolved the problem.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1067250]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-16 19:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found