>>  Running CentOS5 with SpamAssassin v3.3.1-2.el5 installed via yum

>> 
>>  I remember getting this error a while ago, and it was fixed (don't
>>  remember how, but I think just by upgrading), but now it's
>>  happening again:
>> 
>>  Subroutine Net::DNS::Resolver::Base::AF_INET6 redefined at
>>  /usr/lib/perl5/5.8.8/Exporter.pm line 65.
>>    at
>> 
> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/Resolver/Base.pm
>>  line 65
> 
> are you still running perl 5.8.8?
> 
> (perl -v)

Yes, "still". I say that because that's the newest Centos 5 provides.

> if you have multiple perl sitelibs, you might have a conflict.
> 
> cd /usr/lib/perl5.
> 
> ls.  how many vendor_perl and site_perl's do you have?

cd /usr/lib/perl5/
ls

5.8.8  site_perl  vendor_perl

I'm not sure what this tells you, but maybe this is helpful:

locate INET6.pm

/usr/lib/perl5/vendor_perl/5.8.8/IO/Socket/INET6.pm

> or, you could just delete (manually) IO-Socket-INET6 (make a backup first!)
> on freebsd (with perl 5.10.1):
> 
> /usr/local/lib/perl5/5.10.1/man/man3/IO::Socket::INET6.3.gz
> /usr/local/lib/perl5/site_perl/5.10.1/IO/Socket/INET6.pm
> /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/IO/Socket/INET6
> /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/IO/Socket/INET6/.packlist
> 
> on fedora, try:
> 
> find /usr/lib/ -name 'INET6*'
> (back them up)

Same result as above:

/usr/lib/perl5/vendor_perl/5.8.8/IO/Socket/INET6.pm

As I stated in my inquiry, I'd prefer to do my package management
via yum if at all possible. Yum tells me to uninstall this package,
spamassassin depends on it so has to be removed also. So it does
not seem like a good idea to remove it out from under SA

>>  The results I get from Google regarding this are all circa
>>  2008. The only hints I can find seem to suggest to remove
>>  perl-IO-Socket-INET6, but trying to do so using yum (I don't
>>  want to start using another method of package management)
>>  tells me that spamassassin is a dependency and will also be
>>  removed - obviously undesirable.
>> 
>>  Perl is up to date on the machinge.
> 
> no its not :-)

Yes, it is :-) Centos/RHEL 5 seems to maintain 5.8.8 with its own updates or 
some such thing.

Thank you for your help

Reply via email to