X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 08771DC00C6 for ; Sat, 12 Nov 2011 18:29:18 +0000 (UTC) Received: by yenl11 with SMTP id l11so8920yen.13 for ; Sat, 12 Nov 2011 10:29:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=oxox403SxHWqyDb1GmFDw6Alpewlu3VshQxWikr/yWk=; b=B20D9P04z6O6olorb3obk5kzR2dVwPTSulla2hEfzRK0MHpYkwR8X6aw6+0fnklG9O ZXJplbeSdAlnSlFY+uCu4BBZ2ztyfUW4XRG7Grqh0y5wK/xlevtwPQw1+E53dZ0Bb5jN MNi7seLmqrYJ1PWMvLj4lvKjvLUTf6Dhp4EbU= X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.182.45.3 with SMTP id i3mr3778146obm.62.1321122558043; Sat, 12 Nov 2011 10:29:18 -0800 (PST) Received: by 10.182.121.38 with HTTP; Sat, 12 Nov 2011 10:29:17 -0800 (PST) In-Reply-To: References: Date: Sat, 12 Nov 2011 13:29:17 -0500 Message-ID: Subject: Re: [alpine-devel] Net-SNMP trouble From: Jeff Bilyk To: Peter de Zoeten Cc: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Nov 3, 2011 at 3:08 PM, Peter de Zoeten wr= ote: > Hello Guys, > > i was just wondering if someone has the same problems as i do. There > seems to be a problem in the Net-SNMP Perl library. > When i use for example the check_ifstatus plugin from nagios (which > includes net::SNMP) i get the following error: > > Can't locate Net/SNMP.pm in @INC (@INC contains: > /usr/lib/nagios/plugins /usr/local/lib/perl5/site_perl > /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl > /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl > /usr/share/perl5/core_perl .) at > /usr/lib/nagios/plugins/check_ifstatus line 38. > BEGIN failed--compilation aborted at > /usr/lib/nagios/plugins/check_ifstatus line 38. > > OK, well, just to test i copy SNMP.pm to /usr/local/lib/perl5/site_perl/N= et > > when i run check_ifstatus now i get: > > /usr/bin/perl: symbol 'netsnmp_ds_set_int': can't resolve symbol in > lib '/usr/local/lib/perl5/site_perl/auto/NetSNMP/default_store/default_st= ore.so'. > Can't load '/usr/local/lib/perl5/site_perl/auto/NetSNMP/default_store/def= ault_store.so' > for module NetSNMP::default_store: (null) at > /usr/lib/perl5/core_perl/DynaLoader.pm line 190. > =A0at /usr/local/lib/perl5/site_perl/Net/SNMP.pm line 19 > Compilation failed in require at > /usr/local/lib/perl5/site_perl/Net/SNMP.pm line 19. > BEGIN failed--compilation aborted at > /usr/local/lib/perl5/site_perl/Net/SNMP.pm line 19. > Compilation failed in require at /usr/lib/nagios/plugins/check_ifstatus l= ine 38. > BEGIN failed--compilation aborted at > /usr/lib/nagios/plugins/check_ifstatus line 38. > > Looks like the default_store.so is not right, it is there though, and > it seems to contain the right symbol: > > =A0strings /usr/local/lib/perl5/site_perl/auto/NetSNMP/default_store/defa= ult_store.so > | grep netsnmp_ds_set_int > XS_NetSNMP__default_store_netsnmp_ds_set_int > NetSNMP::default_store::netsnmp_ds_set_int > > Anybody knows what is wrong here? > > Regards, Peter > > > --- > Unsubscribe: =A0alpine-devel+unsubscribe@lists.alpinelinux.org > Help: =A0 =A0 =A0 =A0 alpine-devel+help@lists.alpinelinux.org > --- > > Hi Peter, This is now fixed in the edge repository. Upgrading the nagios-plugins package to the latest will now pull in perl-net-snmp and clear up the issue you've been having. Jeff --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---