Re: Perl/mrtg/etc related problem
On Tuesday 12 June 2001 04:57, Brendan O'Dea wrote:
> On Mon, Jun 11, 2001 at 02:07:52PM +0200, Russell Coker wrote:
> >I have just installed mrtg from unstable, and I am getting the
> > following error message emails.
> >
> >Is this a bug in mrtg, perl-base, or libsnmp-session-perl? Is there a
> >work-around?
> >
> >Also I have been getting similar errors from dupload:
> >rjc@lyta:/tmp$ dupload
> >Socket object version 1.72 does not match bootstrap parameter 1.5 at
> >/usr/lib/perl/5.6.1/DynaLoader.pm line 221.
> >Compilation failed in require at /usr/lib/perl5/Net/FTP.pm line 17.
> >BEGIN failed--compilation aborted at /usr/lib/perl5/Net/FTP.pm line
> > 17. Compilation failed in require at /usr/bin/dupload line 31.
> >BEGIN failed--compilation aborted at /usr/bin/dupload line 31.
>
> You have an old copy of Socket.pm floating around. The current version
> of the Socket module included with perl is 1.72 .
>
> Do you have a /usr/lib/perl5/Socket.pm? Or somewhere else in @INC
> before /usr/lib/perl/5.6.1?
Thanks a lot! It seems that I had an old version hanging around that
dpkg doesn't know about.
It's funny because the old version had a date of 1999 and I've run cruft
a few times since then and it apparently didn't find it!
rjc@lyta:/usr$ find . -name Socket.pm
./lib/perl/5.6.1/IO/Socket.pm
./lib/perl/5.6.1/Socket.pm
./lib/perl5/IO/Socket.pm
./lib/perl5/Socket.pm
rjc@lyta:/usr$ dpkg -S Socket.pm
perl-base: /usr/lib/perl/5.6.1/IO/Socket.pm
perl-base: /usr/lib/perl/5.6.1/Socket.pm
--
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page
Reply to: