From nobody Fri Mar 29 07:51:24 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 26AF71F3E220 for ; Thu, 3 Nov 2011 19:08:47 +0000 (UTC) Received: by qyk9 with SMTP id 9so1185571qyk.13 for ; Thu, 03 Nov 2011 12:08:46 -0700 (PDT) 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.50.203.70 with SMTP id ko6mr6195611igc.19.1320347325920; Thu, 03 Nov 2011 12:08:45 -0700 (PDT) Sender: peter@dezoeten.org Received: by 10.143.29.17 with HTTP; Thu, 3 Nov 2011 12:08:45 -0700 (PDT) Date: Thu, 3 Nov 2011 20:08:45 +0100 X-Google-Sender-Auth: eaGW-Pha0kajCGIEcntcg0IYiSk Message-ID: Subject: [alpine-devel] Net-SNMP trouble From: Peter de Zoeten To: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset=ISO-8859-1 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/Net 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_store.so'. Can't load '/usr/local/lib/perl5/site_perl/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: (null) at /usr/lib/perl5/core_perl/DynaLoader.pm line 190. at /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 line 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: strings /usr/local/lib/perl5/site_perl/auto/NetSNMP/default_store/default_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: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Fri Mar 29 07:51:24 2024 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 --- From nobody Fri Mar 29 07:51:24 2024 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 0DC65DC00E5 for ; Sun, 13 Nov 2011 12:42:14 +0000 (UTC) Received: by yenl11 with SMTP id l11so387316yen.13 for ; Sun, 13 Nov 2011 04:42:14 -0800 (PST) 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.68.122.169 with SMTP id lt9mr40428763pbb.114.1321188133560; Sun, 13 Nov 2011 04:42:13 -0800 (PST) Sender: peter@dezoeten.org Received: by 10.142.77.6 with HTTP; Sun, 13 Nov 2011 04:42:13 -0800 (PST) In-Reply-To: References: Date: Sun, 13 Nov 2011 13:42:13 +0100 X-Google-Sender-Auth: ImcIL2ntoBIxCXvV7jgQxxU7kIQ Message-ID: Subject: Re: [alpine-devel] Net-SNMP trouble From: Peter de Zoeten To: Jeff Bilyk Cc: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > Hi Peter, > > This is now fixed in the edge repository. =A0Upgrading the > nagios-plugins package to the latest will now pull in perl-net-snmp > and clear up the issue you've been having. > > Jeff > Hi Jeff, it works, thanks a lot! Peter --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---