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 ---