k clair on Mon, 5 May 2003 12:43:04 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] perl error: object version does not match bootstrap parameter


On Mon, May 05, 2003 at 12:22:52PM -0400, Kyle R . Burton wrote:
- > I've encountered an error with a perl installation that I cannot get to the bottom 
- > of, and I'm hoping someone on this list will have some ideas.  
- > 
- > The installation is the perl 5.6.1 rpm for redhat 7.3.
- > 
- > The error has come up twice so far for two different modules:
- > 
- > Fcntl object version 1.03 does not match bootstrap parameter 1.00 at /usr/lib/perl5/5.6.1/i386-linux/DynaLoader.pm line 225.
- > 
- > Data::Dumper object version 2.102 does not match $Data::Dumper::VERSION 2.09 at /usr/lib/perl5/5.6.1/i386-linux/DynaLoader.pm line 225.
- 
- I'm not 100% sure, but that sounds like there are some shared object files
- that are having a version mis-match from the Perl code that bootstraps 
- them (.pm files).  Is it possible that some or all of the directories
- from the old Perl install are still there?  What happens when you run 
- perl -V -- specifically what is listed as being on @INC?

  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a

Characteristics of this binary (from libperl):
  Compile-time options:
  Built under linux
  Compiled at Apr  1 2002 12:23:22
  @INC:
    /usr/lib/perl5/5.6.1/i386-linux
    /usr/lib/perl5/5.6.1
    /usr/lib/perl5/site_perl/5.6.1/i386-linux
    /usr/lib/perl5/site_perl/5.6.1
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.6.1/i386-linux
    /usr/lib/perl5/vendor_perl/5.6.1
    /usr/lib/perl5/vendor_perl
    .

- > The perl situation on the server is kind of funny because there was an 
- > installation of perl 5.005 alongside of 5.6.1. The 5.005 files were removed, and 
- > I reinstalled the 5.6.1 rpm, which has not helped.
- > 
- > Most of the information i've found online for similar sorts of errors would seem 
- > to indicate that perl is using a module from a different version of perl, but if 
- > that were really the problem, I would have thought that removing the 5.005 
- > installation and reinstalling 5.6.1 would have solved it.
- 
- If those modules happend to be installed or upgraded by hand, then rpm
- might not have removed them or that part of the old lib tree...

well, i removed the entire /usr/lib/perl5 directory tree before reinstalling 
the rpm.
there is nothing in /usr/local/lib

thanks!
kristina
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug