This is a discussion on RE: ERROR: You don't have the SNMP perl module installed within the SNMP Users forums, part of the Networking and Network Related category; This message is in MIME format. Since your mail reader does not understand this format, some or all of this ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible. --===============0481150009== Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C77AAC.FD040B40" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C77AAC.FD040B40 Content-Type: text/plain try --with-perl-modules as an option in configure and make again _____ From: net-snmp-users-bounces@lists.sourceforge.net [mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of Awadhesh Kumar Sent: Monday, April 09, 2007 7:39 AM To: net-snmp-users@lists.sourceforge.net Cc: net-snmp-users-request@lists.sourceforge.net Subject: Fw: ERROR: You don't have the SNMP perl module installed Hi, I am trying to install perl module for Net-SNMP 5.1.4 on linux machine. The machine info is Linux ggns1proj6.hsc.com 2.6.9-22.EL #1 Mon Sep 19 17:49:49 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux I did follwoing steps to install the perl. cd perl perl Makefile.PL make But if i use following command [root@ggns1proj6 perl]# make test make[1]: Entering directory `/root/net-snmp-5.1.4/perl/default_store' make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/default_store' make[1]: Entering directory `/root/net-snmp-5.1.4/perl/ASN' make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/ASN' make[1]: Entering directory `/root/net-snmp-5.1.4/perl/OID' make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/OID' make[1]: Entering directory `/root/net-snmp-5.1.4/perl/agent' make[2]: Entering directory `/root/net-snmp-5.1.4/perl/agent/default_store' make[2]: Leaving directory `/root/net-snmp-5.1.4/perl/agent/default_store' make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/agent' make[1]: Entering directory `/root/net-snmp-5.1.4/perl/SNMP' make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/SNMP' make[1]: Entering directory `/root/net-snmp-5.1.4/perl/default_store' PERL_DL_NONLAZY=1 /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.8: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.5/x86_64-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. not ok 1 make[1]: *** [test_dynamic] Error 255 make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/default_store' if i do make command as given in installation manual [root@ggns1proj6 perl]# make install make[1]: Entering directory `/root/net-snmp-5.1.4/perl/default_store' make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/default_store' make[1]: Entering directory `/root/net-snmp-5.1.4/perl/ASN' make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/ASN' make[1]: Entering directory `/root/net-snmp-5.1.4/perl/OID' make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/OID' make[1]: Entering directory `/root/net-snmp-5.1.4/perl/agent' make[2]: Entering directory `/root/net-snmp-5.1.4/perl/agent/default_store' make[2]: Leaving directory `/root/net-snmp-5.1.4/perl/agent/default_store' make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/agent' make[1]: Entering directory `/root/net-snmp-5.1.4/perl/SNMP' make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/SNMP' Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Writing /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/Bundle/NetSN MP/.packlist Appending installation info to /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/perllocal.pod [root@ggns1proj6 perl]# seems that it is installed properly.. but if i execute mib2c command it gives follwoing error. [root@ggns1proj6 perl]# mib2c 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. I have also put the entry /lib /usr/lib /usr/local/lib in file ld.so.conf but same problem still come. Could you please help me in resolving the problem. Thanks and Regards, Awadhesh Kumar ************************************************** ***** DISCLAIMER ************************************************** ******* This message and/or attachment(s) contained here are confidential, proprietary to HUGHES SYSTIQUE and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the entity it is addressed to. If you are not the intended recipient of this message, it is strictly prohibited to read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately and delete the message. ************************************************** ************************** ************************************************** The information contained in this electronic mail transmission may be privileged and confidential, and therefore, protected from disclosure. If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer without copying or disclosing it. ------_=_NextPart_001_01C77AAC.FD040B40 Content-Type: text/html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII"> <META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=925114013-09042007><FONT face=Arial color=#0000ff size=2>try --with-perl-modules as an option in configure and make again</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=925114013-09042007><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN class=925114013-09042007><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><BR> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> net-snmp-users-bounces@lists.sourceforge.net [mailto:net-snmp-users-bounces@lists.sourceforge.net] <B>On Behalf Of </B>Awadhesh Kumar<BR><B>Sent:</B> Monday, April 09, 2007 7:39 AM<BR><B>To:</B> net-snmp-users@lists.sourceforge.net<BR><B>Cc:</B> net-snmp-users-request@lists.sourceforge.net<BR><B>Subject:</B> Fw: ERROR: You don't have the SNMP perl module installed<BR></FONT><BR></DIV> <DIV></DIV><BR><FONT face=sans-serif size=2>Hi,</FONT> <BR><BR><FONT face=sans-serif size=2>I am trying to install perl module for Net-SNMP 5.1.4 on linux machine. The machine info is </FONT><BR><FONT face=sans-serif size=2>Linux ggns1proj6.hsc.com 2.6.9-22.EL #1 Mon Sep 19 17:49:49 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux</FONT> <BR><BR><FONT face=sans-serif size=2>I did follwoing steps to install the perl.</FONT> <BR><TT><FONT size=3>cd perl</FONT></TT> <BR><TT><FONT size=3>perl Makefile.PL</FONT></TT> <BR><TT><FONT size=3>make<BR></FONT></TT><BR><FONT face=sans-serif size=2>But if i use following command</FONT> <BR><BR><FONT face=sans-serif size=2><B>[root@ggns1proj6 perl]# make test</B></FONT> <BR><FONT face=sans-serif size=2><B>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/default_store'</B></FONT> <BR><FONT face=sans-serif size=2><B>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/default_store'</B></FONT> <BR><FONT face=sans-serif size=2><B>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/ASN'</B></FONT> <BR><FONT face=sans-serif size=2><B>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/ASN'</B></FONT> <BR><FONT face=sans-serif size=2><B>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/OID'</B></FONT> <BR><FONT face=sans-serif size=2><B>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/OID'</B></FONT> <BR><FONT face=sans-serif size=2><B>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/agent'</B></FONT> <BR><FONT face=sans-serif size=2><B>make[2]: Entering directory `/root/net-snmp-5.1.4/perl/agent/default_store'</B></FONT> <BR><FONT face=sans-serif size=2><B>make[2]: Leaving directory `/root/net-snmp-5.1.4/perl/agent/default_store'</B></FONT> <BR><FONT face=sans-serif size=2><B>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/agent'</B></FONT> <BR><FONT face=sans-serif size=2><B>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/SNMP'</B></FONT> <BR><FONT face=sans-serif size=2><B>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/SNMP'</B></FONT> <BR><FONT face=sans-serif size=2><B>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/default_store'</B></FONT> <BR><FONT face=sans-serif size=2><B>PERL_DL_NONLAZY=1 /usr/bin/perl "-I../blib/lib" "-I../blib/arch" test.pl</B></FONT> <BR><FONT face=sans-serif size=2><B>1..64</B></FONT> <BR><FONT face=sans-serif size=2><B>Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: libnetsnmp.so.8: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm line 230.</B></FONT> <BR><FONT face=sans-serif size=2><B> at test.pl line 71</B></FONT> <BR><FONT face=sans-serif size=2><B>Compilation failed in require at test.pl line 71.</B></FONT> <BR><FONT face=sans-serif size=2><B>BEGIN failed--compilation aborted at test.pl line 71.</B></FONT> <BR><FONT face=sans-serif size=2><B>not ok 1</B></FONT> <BR><FONT face=sans-serif size=2><B>make[1]: *** [test_dynamic] Error 255</B></FONT> <BR><FONT face=sans-serif size=2><B>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/default_store'</B></FONT> <BR><BR><FONT face=sans-serif size=2>if i do make command as given in installation manual</FONT> <BR><BR><FONT face=sans-serif size=2>[root@ggns1proj6 perl]# make install</FONT> <BR><FONT face=sans-serif size=2>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/default_store'</FONT> <BR><FONT face=sans-serif size=2>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/default_store'</FONT> <BR><FONT face=sans-serif size=2>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/ASN'</FONT> <BR><FONT face=sans-serif size=2>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/ASN'</FONT> <BR><FONT face=sans-serif size=2>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/OID'</FONT> <BR><FONT face=sans-serif size=2>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/OID'</FONT> <BR><FONT face=sans-serif size=2>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/agent'</FONT> <BR><FONT face=sans-serif size=2>make[2]: Entering directory `/root/net-snmp-5.1.4/perl/agent/default_store'</FONT> <BR><FONT face=sans-serif size=2>make[2]: Leaving directory `/root/net-snmp-5.1.4/perl/agent/default_store'</FONT> <BR><FONT face=sans-serif size=2>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/agent'</FONT> <BR><FONT face=sans-serif size=2>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/SNMP'</FONT> <BR><FONT face=sans-serif size=2>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/SNMP'</FONT> <BR><FONT face=sans-serif size=2>Files found in blib/arch: installing files in blib/lib into architecture dependent library tree</FONT> <BR><FONT face=sans-serif size=2>Writing /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/Bundle/NetSNMP/.packlist</FONT> <BR><FONT face=sans-serif size=2>Appending installation info to /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/perllocal.pod</FONT> <BR><FONT face=sans-serif size=2>[root@ggns1proj6 perl]#</FONT> <BR><BR><FONT face=sans-serif size=2>seems that it is installed properly.. but if i execute <B>mib2c </B>command it gives follwoing error.</FONT> <BR><FONT face=sans-serif size=2> </FONT><BR><BR><FONT face=sans-serif size=2><B>[root@ggns1proj6 perl]# mib2c</B></FONT> <BR><BR><FONT face=sans-serif size=2><B>ERROR: You don't have the SNMP perl module installed. Please obtain</B></FONT> <BR><FONT face=sans-serif size=2><B>this by getting the latest source release of the net-snmp toolkit from</B></FONT> <BR><FONT face=sans-serif size=2><B>http://www.net-snmp.org/download/ .. Once you download the source and</B></FONT> <BR><FONT face=sans-serif size=2><B>unpack it, the perl module is contained in the perl/SNMP directory.</B></FONT> <BR><FONT face=sans-serif size=2><B>See the README file there for instructions.</B></FONT> <BR><BR><FONT face=sans-serif size=2>I have also put the entry</FONT> <BR><FONT face=sans-serif size=2>/lib</FONT> <BR><FONT face=sans-serif size=2>/usr/lib</FONT> <BR><FONT face=sans-serif size=2>/usr/local/lib</FONT> <BR><FONT face=sans-serif size=2>in file <B>ld.so.conf </B>but same problem still come.<B> </B></FONT><BR><BR><BR><FONT face=sans-serif size=2>Could you please help me in resolving the problem. </FONT><BR><FONT face=sans-serif size=2><BR>Thanks and Regards,<BR>Awadhesh Kumar<BR></FONT><PRE> ************************************************** ***** DISCLAIMER ************************************************** ******* This message and/or attachment(s) contained here are confidential, proprietary to HUGHES SYSTIQUE and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the entity it is addressed to. If you are not the intended recipient of this message, it is strictly prohibited to read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately and delete the message. ************************************************** ************************************************** ************************** </PRE> <BR> The information contained in this electronic mail transmission may be privileged and confidential, and therefore, protected from disclosure. If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer without copying or disclosing it.<BR> </BODY></HTML> ------_=_NextPart_001_01C77AAC.FD040B40-- --===============0481150009== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?p...rge&CID=DEVDEV --===============0481150009== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0481150009==-- |