Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Muliple perl installation sucks!

by syphilis (Chancellor)
on Aug 22, 2012 at 00:35 UTC ( #988908=note: print w/replies, xml ) Need Help??

in reply to Muliple perl installation sucks!

Perl lib version (5.12.3) doesn't match executable version (v5.14.2)

Your Strawberry installation appears to have the wrong C:/Strawberry/perl/lib/
That one belongs to perl-5.12.3, but you have 5.14.2

I don't know how that would happen - I guess it's the result of an upgrade from 5.12.3 to 5.14.2 that didn't go as intended.
You could remove all of the other perls from your box, and you would still have the same problem.


Replies are listed 'Best First'.
Re^2: Muliple perl installation sucks!
by Anonymous Monk on Aug 23, 2012 at 16:30 UTC

    Hello Rob,

    I did not attempted any failed upgrade of any perl version on my system. But quick look at C:\Strawberry\perl\lib\ shows me that library version 5.12.3 seems to be hard coded in the code.

    ... few lines omitted *{$callpkg.'::'.$func} = \&{$func}; } *{"$callpkg\::Config"} = \%Config if $export_Config; return; } die "Perl lib version (5.12.3) doesn't match executable version ($])" unless $^V; $^V eq 5.12.3 or die "Perl lib version (5.12.3) doesn't match executable version + (" . sprintf("v%vd",$^V) . ")"; sub FETCH { my($self, $key) = @_; ... rest omitted is the module that stores the configuration information for your version of Perl. Of course, the hardcoded version number there means that this version of is for a Perl of that version, 5.12.3. So, your installation got corrupted and I recommend starting over fresh, or restoring that directory from a known good backup.

        Thank you all for your help.

        I am now going to get rid of all the vendor perl version and re-install Strawberry flavor.

        On side note: The posting editor forces you to learn some HTML tags rather than just plain posting. Not that I am complaining since just couple of them, completely UN-necessary though.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2016-10-21 16:02 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (289 votes). Check out past polls.