snmpd problem

nic

New member
Joined
Jun 14, 2010
Messages
1
Command : > /usr/local/etc/rc.d/snmpd start

Error: /libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by "libnetsnmphelpers.so.20"

WHEN I TYPE THIS COMMAND, I GET THESE:


ldd /usr/local/sbin/snmpd
/usr/local/sbin/snmpd:
libnetsnmpagent.so.20 => /usr/local/lib/libnetsnmpagent.so.20 (0x2807e000)
libnetsnmphelpers.so.20 => /usr/local/lib/libnetsnmphelpers.so.20 (0x280b5000)
libnetsnmpmibs.so.20 => /usr/local/lib/libnetsnmpmibs.so.20 (0x280d2000)
libwrap.so.4 => /usr/lib/libwrap.so.4 (0x281b6000)
libperl.so => /usr/local/lib/perl5/5.10.1/mach/CORE/libperl.so (0x281bd000)
libcrypt.so.3 => /lib/libcrypt.so.3 (0x282db000)
libutil.so.5 => /lib/libutil.so.5 (0x282f3000)
libnetsnmp.so.20 => /usr/local/lib/libnetsnmp.so.20 (0x282ff000)
libm.so.4 => /lib/libm.so.4 (0x283a4000)
libkvm.so.3 => /lib/libkvm.so.3 (0x283ba000)
libdevstat.so.5 => /lib/libdevstat.so.5 (0x283c1000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x283c6000)
libc.so.6 => /lib/libc.so.6 (0x284b9000)
libperl.so => not found (0x0)
libperl.so => not found (0x0)

Please give me some solutions
 

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
I'm presuming the poser is wondering how to install the missing command. Which agreed, has nothing to do with DirectAdmin.

It appears the libperl.so library is missing.

That's what needs to be installed. I have no idea how to do it on FreeBSD; perhaps someone does.

Jeff
 

scsi

Verified User
Joined
Aug 19, 2008
Messages
4,695
I would try reinstalling snmp.

cd /usr/ports/net-mgmt/net-snmp
make clean
make config install clean
 

ben29

Verified User
Joined
Jul 20, 2006
Messages
473
Location
isreal
you should have to install perl
Code:
[FONT=Courier]cd  /usr/ports/lang/perl5.8[/FONT]
make install clean;
or by using pkg
Code:
pkg_add -r perl5.10
 
Top