not found snmpd

Matthew Seaman m.seaman at
Tue Nov 25 08:54:01 PST 2008

Gary Hartl wrote:
> Hi all;
> I'm setting up snmpd, I've download the package and installed it ok.
> I've setup the configuration files, when i run
> /usr/local/etc/rc.d/snmpd start i get 
> Starting snmpd.
> /libexec/ Shared object "" not found, required by
> "snmpd"
> So I do a quick locate and find
> netra1# locate
> /usr/local/lib/perl5/5.8.7/mach/CORE/
> Is that an uncompiled version of  Should I add
> /usr/local/lib/perl5/5.8.7/mach/CORE to my path?
> Or is it something else completely?

It's because the current version of perl in the ports tree is 5.8.8
-- when the net-snmpd package was compiled it was linked against a later
version.  You can probably see this by examining the output of:

   % ldd /usr/local/sbin/snmpd

The fix is either:

   upgrade perl  (recommended, as there's a security advisory against
                  older versions of perl:


    compile the net-mgmt/net-snmpd port from sources



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
                                                  Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list