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

Object version x.yz does not match bootstrap parameter a.bc

by Anonymous Monk
on Mar 23, 2008 at 07:36 UTC ( [id://675748]=perlmeditation: print w/replies, xml ) Need Help??

I was getting this strange error when using parl on a par file: Set::Object object version 1.22 does not match bootstrap parameter 1.21 at /usr/lib/perl/5.8/DynaLoader.pm line 245.

After searching the web, it seems this error is caused by an incorrect shared library file for some XS code. So I deleted Set/Object.so from where it sits in /usr/local/perl/... Then I got a slightly different error from parl, which indicated to me that par unzips its stuff in directories named like /tmp/par-$USER/cache-* So I reinstalled Set::Object and deleted all the /tmp/par-$USER directories. That fixed the problem.

So to summarise, I got the "object version x.yz does not match bootstrap parameter version a.bc" error from DynaLoader. I was able to remove the error by deleting the par unzipping directories in /tmp/par*. Hopefully somebody might find this useful.

Replies are listed 'Best First'.
Re: Object version x.yz does not match bootstrap parameter a.bc
by roboticus (Chancellor) on Mar 23, 2008 at 12:22 UTC
    Anonymous Monk:

    That seems quite odd to me. You don't have /tmp in your path, do you? That could be dangerous. Think: you download something from the net, decompress it, and then the next command you execute causes Spammatic RoboSlave v5.0 to install and run in the background. Yecch!

    ...roboticus
Re: Object version x.yz does not match bootstrap parameter a.bc
by syphilis (Archbishop) on Mar 23, 2008 at 13:05 UTC
    I was able to remove the error by deleting the par unzipping directories in /tmp/par*.

    I wonder if that will work for all situations ?

    I can remember PAR playing the same trick a few years back - it was a different module involved (Compress::Zlib, I think), but the same annoying trick. I forget the precise circumstances. Did you build PAR itself ? or did you install a pre-compiled version that was built for your platform ? (My vague recollection is that the original problem to which I refer applied to the latter case.)

    I would probably try to address this particular issue wrt Set::Object by first ascertaining the version of Set::Object that's installed. Then, if it's 1.22, I'd install 1.21 ... or if it's 1.21, I'd install 1.22.

    But, in any case, it's a bug - and you could consider reporting it. At a quick glance, it doesn't appear to have been reported to rt.cpan.org, so you could report it there, or just raise it on the PAR mailing list if you prefer.

    Cheers,
    Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-29 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found