perl confusion --> failed to start spamd

Andy Firman firmdog at gmail.com
Mon Dec 30 18:39:26 UTC 2019


Hi,

I recently updated a "php" package due to security vulns. This caused a
problem with Apache, and (thanks to this mailing list) I was told I need to
upgrade package "apr". During that process, something happened with perl,
and I now have 2 versions installed. Now I am unable to use spamassassin.
How do I troubleshoot this?

FreeBSD 12.0-RELEASE-p10

#pkg info |grep perl

perl5-5.30.0                   Practical Extraction and Report Language
perl5.28-5.28.2                Practical Extraction and Report Language

# /usr/local/etc/rc.d/sa-spamd start
Starting spamd.
Can't locate NetAddr/IP.pm in @INC (you may need to install the NetAddr::IP
module) (@INC contains: /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/5.30/mach
/usr/local/lib/perl5/5.30) at
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Util.pm line 70.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Util.pm line 70.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Conf.pm line 85.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Conf.pm line 85.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin.pm line 71.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin.pm line 71.
Compilation failed in require at /usr/local/bin/spamd line 240.
BEGIN failed--compilation aborted at /usr/local/bin/spamd line 240.
/usr/local/etc/rc.d/sa-spamd: WARNING: failed to start spamd


More information about the freebsd-questions mailing list