SA Bugzilla – Bug 4970
IPv6: 'vendor has not defined Socket macro AF_INET6'
Last modified: 2014-02-19 01:26:11 UTC
i compiled spamassassin 3.1.3 under HP-UX 11.00. But when it run it give me this error: Your vendor has not defined Socket macro AF_INET6, used at /usr/local/lib/perl5/site_perl/5.8.7/IO/Socket/INET6.pm line 50 Any idea? Thanks Giacomo
that is pretty serious -- does this affect all uses of the "spamassassin" and "spamd" scripts, or does it only manifest under certain circumstances? Another shortcoming of perl's ipv6 support :(
(In reply to comment #1) > that is pretty serious -- does this affect all uses of the "spamassassin" and > "spamd" scripts, or does it only manifest under certain circumstances? > > Another shortcoming of perl's ipv6 support :( I use CommuniGate Pro with CGPSA and spamassassin. So it affect all users. Spamassassin do not work....with this problem..
Bug 4873 appears to be a duplicate of this. Bug 4477 appears to be related. I thought I had remembered someone having a possible fix for this, but I either misremembered or can't find it.
*** Bug 4873 has been marked as a duplicate of this bug. ***
(In reply to comment #4) > *** Bug 4873 has been marked as a duplicate of this bug. *** I found the solution... I disabled IPv6 support in Net:DNS. Thanks Giacomo
interesting; does SA work ok, when Net::DNS is not installed/not using ipv6?
(In reply to comment #6) > interesting; does SA work ok, when Net::DNS is not installed/not using ipv6? Yes!!! SA works wery well and most fast than version 3.04. Giacomo
Is there actually anything we can do about this? If anything, it looks like a Net::DNS bug to me.
yep, agreed. Looking at the code, too, Net::DNS::Resolver::Base includes various IO::Socket::INET6 dynamic-loading code -- I'm pretty sure it's a bug in that package, not SA.
Btw, see also a related Bug 7009.