Trying to run a Nagios plugin on 8.3-RELEASE-p3, I get the error:
Missing perl modules: Net::SMTP::SSL
I have rebuilt the ports for both p5-Net-SMTP-SSL and perl5.16. cpan -i Net::SMTP::SSL
reports
Net::SMTP::SSL is up to date (1.01).
The plugin calls /usr/bin/perl in the shebang (which is correct per my path) and invokes the module via
push @required_module, 'Net::SMTP::SSL' if $ssl;
What else should I be looking at?
which perl
, does it return/usr/bin/perl
? if you run/usr/bin/perl -MNet::SMTP::SSL -e exit
, do you get any errors? Does/usr/local/bin/perl
exist?/usr/bin/perl -MNet::SMTP::SSL -e exit
was the command I needed here - thanks for the perl noob help!