Date: Tue, 25 Nov 2008 16:53:47 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Gary Hartl <ghartl@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: libperl.so not found snmpd Message-ID: <492C2D9B.2060002@infracaninophile.co.uk> In-Reply-To: <001601c94f1b$f5ec1190$e1c434b0$@com> References: <001601c94f1b$f5ec1190$e1c434b0$@com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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/ld-elf.so.1: Shared object "libperl.so" not found, required by
> "snmpd"
>
> So I do a quick locate and find
>
> netra1# locate libperl.so
> /usr/local/lib/perl5/5.8.7/mach/CORE/libperl.so
>
> Is that an uncompiled version of libperl.so? 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:
http://www.vuxml.org/freebsd/5b47c279-8cb5-11dc-8878-0016179b2dd5.html
)
or:
compile the net-mgmt/net-snmpd port from sources
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkksLaAACgkQ8Mjk52CukIzDOQCbBwTXjwyWGEwm5izOqnNVcN1D
tREAnR3vMTSo4wEF0c4DCsQqYO79NZw9
=kV/O
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?492C2D9B.2060002>
