Bluehost.com Web Hosting $6.95

mib2c not working, perl module perl/SNMP not installed correctly

This is a discussion on mib2c not working, perl module perl/SNMP not installed correctly within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C5FE6E.5E45E7E7 Content-Type: text/plain; charset="us-ascii&...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-11-2005
Makavy, Erez
 
Posts: n/a
Default mib2c not working, perl module perl/SNMP not installed correctly

This is a multi-part message in MIME format.

------_=_NextPart_001_01C5FE6E.5E45E7E7
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,
=20
Please help with this installation problem, I'm stuck !
=20
The problem summery :
--------------------------------

* mib2c does not work !

=20
Problem characteristics:
----------------------------------

* running mib2c complains that the SNMP perl module is not
installed, showing this message:
=09
ERROR: You don't have the SNMP perl module installed. Please
obtain
this by getting the latest source release of the net-snmp
toolkit from
http://www.net-snmp.org/download/ . Once you download the
source and
unpack it, the perl module is contained in the perl/SNMP
directory.
See the README file there for instructions.

=20

* make test in the perl directory fails with message:
=09
make[1]: Entering directory
`/root/download/net-snmp-5.2.2/perl/default_store'
PERL_DL_NONLAZY=3D1 /usr/bin/perl "-I../blib/lib" "-I../blib/arch"
test.pl
1..64
Can't load
'../blib/arch/auto/NetSNMP/default_store/default_store.so' for module
NetSNMP::default_store: libnetsnmp.so.9: cannot open shared object file:
No such file or directory at
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230.
at test.pl line 71
Compilation failed in require at test.pl line 71.
BEGIN failed--compilation aborted at test.pl line 71.
=09

Installation notes:
-------------------------

* I'm downloaded and unpacked net-snmp-5.2.2 tar file, onto a
Linux 2.6.11 system (Fedora distribution), on a PC.
* As root user, in the decompressed directory, I ran:

* ./configure --with-perl-modules
* make
* make install

* No errors occured in either stage.

Solutions attempted:
-----------------------------

* make uninstall, make clean, and try the whole thing again.
* check that the file
perl/blib/arch/auto/NetSNMP/default_store/default_store.so' exists. -->
it does
* verify that the SNMP module was installed by commiting : perldoc
perllocal --> module Bundle::NetSNMP is installed at
/usr/lib/perl5/site_perl/5.8.6, LINKTYPE : Dynamic
* Try installing on a different PC (running also Linux) --> it
works just fine, but I want to fix this one.

=20
----------------
Any ideas?
----------------
=20
Thanks in advance,
Erez Makavy.
=20
=20

------_=_NextPart_001_01C5FE6E.5E45E7E7
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2769" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial size=3D2>Please =
help with=20
this installation problem, I'm stuck !</FONT></SPAN></DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial size=3D2>The =
problem=20
summery&nbsp;:</FONT></SPAN></DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2>--------------------------------</FONT></SPAN></DIV>
<UL>
<LI><SPAN class=3D938534915-11122005><FONT face=3DArial =
size=3D2>&nbsp;mib2c does=20
not work !</FONT></SPAN></LI></UL>
<DIV><SPAN class=3D938534915-11122005><SPAN =
class=3D938534915-11122005><FONT=20
face=3DArial size=3D2>&nbsp;</DIV></FONT></SPAN></SPAN>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial =
size=3D2>Problem=20
characteristics:</FONT></SPAN></DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2>----------------------------------</FONT></SPAN></DIV>
<UL>
<LI><SPAN class=3D938534915-11122005><FONT face=3DArial =
size=3D2>running mib2c=20
complains that the SNMP perl module is not installed, showing this=20
message:<BR><BR>ERROR: You don't have the SNMP perl module =
installed.&nbsp;=20
Please obtain<BR>this by getting the latest source release of the =
net-snmp=20
toolkit from<BR><A=20
=
href=3D"http://www.net-snmp.org/download/">http://www.net-snmp.org/downlo=
ad/</A>=20
.&nbsp; Once you download the source and<BR>unpack it, the perl module =
is=20
contained in the perl/SNMP directory.<BR>See the README file there for =

instructions.</FONT></SPAN></LI></UL>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<UL>
<LI><SPAN class=3D938534915-11122005><FONT face=3DArial size=3D2>make =
test in the=20
perl directory fails with message:<BR><BR>make[1]: Entering directory=20
=
`/root/download/net-snmp-5.2.2/perl/default_store'<BR>PERL_DL_NONLAZY=3D1=
=20
/usr/bin/perl "-I../blib/lib" "-I../blib/arch" =
test.pl<BR>1..64<BR>Can't load=20
=
'../blib/arch/auto/NetSNMP/default_store/<STRONG>default_store.so'</STRON=
G>=20
for module NetSNMP::default_store: libnetsnmp.so.9: cannot open shared =
object=20
file: No such file or directory at=20
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line=20
230.<BR>&nbsp;at test.pl line 71<BR>Compilation failed in require at =
test.pl=20
line 71.<BR>BEGIN failed--compilation aborted at test.pl line=20
71.<BR></FONT></SPAN></LI></UL>
<DIV><SPAN class=3D938534915-11122005>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial =
size=3D2>Installation=20
notes:</FONT></SPAN></DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2>-------------------------</FONT></SPAN></DIV>
<UL>
<LI><SPAN class=3D938534915-11122005><FONT face=3DArial size=3D2>I'm =
downloaded and=20
unpacked net-snmp-5.2.2 tar file, onto a Linux 2.6.11 system (Fedora=20
distribution), on a PC.</FONT></SPAN></LI>
<LI><SPAN class=3D938534915-11122005><FONT face=3DArial size=3D2>As =
root user, in=20
the decompressed directory, I ran:</FONT></SPAN></LI>
<UL>
<LI><SPAN class=3D938534915-11122005><FONT face=3DArial =
size=3D2>./configure=20
--with-perl-modules</FONT></SPAN></LI>
<LI><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2>make</FONT></SPAN></LI>
<LI><SPAN class=3D938534915-11122005><FONT face=3DArial =
size=3D2>make=20
install</FONT></SPAN></LI></UL>
<LI><SPAN class=3D938534915-11122005>No errors occured in either=20
stage.</SPAN></LI></UL></SPAN></DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial =
size=3D2>Solutions=20
attempted:</FONT></SPAN></DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2>-----------------------------</FONT></SPAN></DIV>
<UL>
<LI><SPAN class=3D938534915-11122005><FONT face=3DArial size=3D2>make =
uninstall,=20
make clean, and try the whole thing again.</FONT></SPAN></LI>
<LI><SPAN class=3D938534915-11122005><FONT face=3DArial size=3D2>check =
that the file=20
perl/blib/arch/auto/NetSNMP/default_store/default_store.so' exists. =
--&gt; it=20
does</FONT></SPAN></LI>
<LI><SPAN class=3D938534915-11122005><FONT face=3DArial =
size=3D2>verify that the=20
SNMP module was installed by commiting : perldoc perllocal --&gt; =
module=20
Bundle::NetSNMP is installed at<BR>/usr/lib/perl5/site_perl/5.8.6, =
LINKTYPE :=20
Dynamic</FONT></SPAN></LI>
<LI><SPAN class=3D938534915-11122005><FONT face=3DArial size=3D2>Try =
installing on a=20
different PC (running also Linux) --&gt; it works just fine, but I =
want to fix=20
this one.</FONT></SPAN></LI></UL>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2>----------------</FONT></SPAN></DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial size=3D2>Any=20
ideas?</FONT></SPAN></DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2>----------------</FONT></SPAN></DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial size=3D2>Thanks =
in=20
advance,</FONT></SPAN></DIV>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial size=3D2>Erez=20
Makavy.</FONT></SPAN></DIV>
<DIV><SPAN class=3D938534915-11122005>&nbsp;</SPAN></DIV><SPAN=20
class=3D938534915-11122005><FONT face=3DArial size=3D2>
<DIV><SPAN class=3D938534915-11122005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV></FONT></SPAN></BODY></HTML>

------_=_NextPart_001_01C5FE6E.5E45E7E7--


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0