From owner-freebsd-questions@FreeBSD.ORG Tue Nov 25 16:54:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06ADE1065673 for ; Tue, 25 Nov 2008 16:54:01 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 874608FC0A for ; Tue, 25 Nov 2008 16:54:00 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id mAPGrqi7003588; Tue, 25 Nov 2008 16:53:54 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mAPGrqi7003588 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1227632034; bh=mrz39cxoAhfTa4 DJMnNMpsbsJeJNA45gAF65hK1STes=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<492C2D9B.2060002@infracaninophile.co.uk>|Date:=20Tue,=2 025=20Nov=202008=2016:53:47=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.18=20(X11/20081125)|MIME-Version:=201 .0|To:=20Gary=20Hartl=20|CC:=20FreeBSD=20Question s=20|Subject:=20Re:=20libperl.so=20n ot=20found=20snmpd|References:=20<001601c94f1b$f5ec1190$e1c434b0$@c om>|In-Reply-To:=20<001601c94f1b$f5ec1190$e1c434b0$@com>|X-Enigmail -Version:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dp gp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0 A=20boundary=3D"------------enig1C0611738AA081C911E9A946"; b=D+8b1x e3Xv6GLaLENiuusuK4NhFr+PEBwNz6VE6+PbycGn1Ab94yQQR5CzazIancVtnj+Qezr Y458grua0dQgxywYje+uFYCkA8oGDlWgLtcDFW6nAd/FCGXa7ffxTcqIaNwH3An81Ed 3NGUkV3BEAxrRMcogiafkXwPJH7IHv0= Message-ID: <492C2D9B.2060002@infracaninophile.co.uk> Date: Tue, 25 Nov 2008 16:53:47 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Gary Hartl References: <001601c94f1b$f5ec1190$e1c434b0$@com> In-Reply-To: <001601c94f1b$f5ec1190$e1c434b0$@com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig1C0611738AA081C911E9A946" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Tue, 25 Nov 2008 16:53:54 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.1/8679/Tue Nov 25 13:08:31 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: FreeBSD Questions Subject: Re: libperl.so not found snmpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 16:54:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1C0611738AA081C911E9A946 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Gary Hartl wrote: > Hi all; >=20 > I'm setting up snmpd, I've download the package and installed it ok. > I've setup the configuration files, when i run >=20 > /usr/local/etc/rc.d/snmpd start i get=20 >=20 > Starting snmpd. > /libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by= > "snmpd" >=20 > So I do a quick locate and find >=20 > netra1# locate libperl.so > /usr/local/lib/perl5/5.8.7/mach/CORE/libperl.so >=20 > Is that an uncompiled version of libperl.so? Should I add > /usr/local/lib/perl5/5.8.7/mach/CORE to my path? >=20 > 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-00= 16179b2dd5.html=20 ) or: compile the net-mgmt/net-snmpd port from sources Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig1C0611738AA081C911E9A946 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enig1C0611738AA081C911E9A946--