FreeBSD Port of mrtg Not Happy when Trying to Start

Dan Nelson dnelson at
Tue Sep 23 16:28:50 UTC 2008

In the last episode (Sep 23), Martin McCormick said:
> When installing mrtg, I left the ipv6 box unchecked as we have none,
> and turned on the snmpV3 support which made no difference.  Still the
> same error:
> Can't locate in @INC (@INC contains: /usr/local/bin/../lib/mrtg2 /usr/local/bin /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/bin/mrtg line 292.

That file is supposed to be installed by the p5-SNMP_Session port,
which is marked as a dependency by mrtg.  Do you maybe have an old or
bad install of that port?

$ locate /

$ pkg_which /usr/local/lib/perl5/site_perl/5.8.8/

$ pkg_info -rR mrtg-2.16.2,1
Information for mrtg-2.16.2,1:

Depends on:
Dependency: perl-5.8.8_1
Dependency: p5-SNMP_Session-1.12
Dependency: png-1.2.32
Dependency: jpeg-6b_7
Dependency: pkg-config-0.23_1
Dependency: freetype2-2.3.7
Dependency: gd-2.0.35,1
Dependency: p5-PathTools-3.2701
Dependency: p5-Pod-Parser-1.35_2

$ pkg_info -L p5-SNMP_Session-1.12
Information for p5-SNMP_Session-1.12:


	Dan Nelson
	dnelson at

More information about the freebsd-questions mailing list