net-snmp-perl not the same as Net::SNMP?

Paul Howarth paul at
Wed Dec 21 17:05:07 UTC 2005

Mike McGrath wrote:
> Can anyone shed some light on net-snmp-perl vs Net::SNMP?  I've got a
> program that uses Net::SNMP.  I've installed net-snmp-perl.  I can see
> that there is an on my system, yet when I run the script it
> bombs at "use Net::SNMP"
> Can't locate Net/ in @INC (@INC contains: nagios-plugins/libexec
> /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
> /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
> /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3
> /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i386-linux-thread-multi
> /usr/lib/perl5/5.8.6 .) at ./check_ifoperstatus line 41.
> BEGIN failed--compilation aborted at ./check_ifoperstatus line 41.
> I'd like to avoid using CPAN to install the modules (as I'm trying to
> package this for Fedora-Extras).  I've seen some posts on this as it
> related to FC2 but nothing relating to FC3 or FC4.  Any ideas?

net-snmp-perl and Net::SNMP are two different things.

net-snmp-perl is the perl bindings for the snmp library at, which provides an without the 
Net:: prefix.

Net::SNMP is a perl module from 
which provides Net::SNMP (i.e. it would be 
/usr/lib/perl5/vendor_perl/5.8.5/Net/ You can find RPMs for 
this package in Dag's repo:


More information about the fedora-list mailing list