Fw: ERROR: You don't have the SNMP perl module installed

This is a discussion on Fw: ERROR: You don't have the SNMP perl module installed within the SNMP Users forums, part of the Networking and Network Related category; This is a multipart message in MIME format. --===============0304981175== Content-Type: multipart/alternative; boundary="=_alternative 0041F671652572B8_=" This is ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2007
Awadhesh Kumar
 
Posts: n/a
Default Fw: ERROR: You don't have the SNMP perl module installed

This is a multipart message in MIME format.
--===============0304981175==
Content-Type: multipart/alternative;
boundary="=_alternative 0041F671652572B8_="

This is a multipart message in MIME format.
--=_alternative 0041F671652572B8_=
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"

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/NetSNMP/.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.

************************************************** ************************************************** **************************


--=_alternative 0041F671652572B8_=
Content-Transfer-Encoding: 7bit
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I am trying to install perl module for
Net-SNMP 5.1.4 on linux machine. &nbsp;The machine info is </font>
<br><font size=2 face="sans-serif">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 size=2 face="sans-serif">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 size=2 face="sans-serif">But if i use following command</font>
<br>
<br><font size=2 face="sans-serif"><b>[root@ggns1proj6 perl]# make test</b></font>
<br><font size=2 face="sans-serif"><b>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/default_store'</b></font>
<br><font size=2 face="sans-serif"><b>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/default_store'</b></font>
<br><font size=2 face="sans-serif"><b>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/ASN'</b></font>
<br><font size=2 face="sans-serif"><b>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/ASN'</b></font>
<br><font size=2 face="sans-serif"><b>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/OID'</b></font>
<br><font size=2 face="sans-serif"><b>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/OID'</b></font>
<br><font size=2 face="sans-serif"><b>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/agent'</b></font>
<br><font size=2 face="sans-serif"><b>make[2]: Entering directory `/root/net-snmp-5.1.4/perl/agent/default_store'</b></font>
<br><font size=2 face="sans-serif"><b>make[2]: Leaving directory `/root/net-snmp-5.1.4/perl/agent/default_store'</b></font>
<br><font size=2 face="sans-serif"><b>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/agent'</b></font>
<br><font size=2 face="sans-serif"><b>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/SNMP'</b></font>
<br><font size=2 face="sans-serif"><b>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/SNMP'</b></font>
<br><font size=2 face="sans-serif"><b>make[1]: Entering directory `/root/net-snmp-5.1.4/perl/default_store'</b></font>
<br><font size=2 face="sans-serif"><b>PERL_DL_NONLAZY=1 /usr/bin/perl &quot;-I../blib/lib&quot;
&quot;-I../blib/arch&quot; test.pl</b></font>
<br><font size=2 face="sans-serif"><b>1..64</b></font>
<br><font size=2 face="sans-serif"><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 size=2 face="sans-serif"><b>&nbsp;at test.pl line 71</b></font>
<br><font size=2 face="sans-serif"><b>Compilation failed in require at
test.pl line 71.</b></font>
<br><font size=2 face="sans-serif"><b>BEGIN failed--compilation aborted
at test.pl line 71.</b></font>
<br><font size=2 face="sans-serif"><b>not ok 1</b></font>
<br><font size=2 face="sans-serif"><b>make[1]: *** [test_dynamic] Error
255</b></font>
<br><font size=2 face="sans-serif"><b>make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/default_store'</b></font>
<br>
<br><font size=2 face="sans-serif">if i do make command as given in installation
manual</font>
<br>
<br><font size=2 face="sans-serif">[root@ggns1proj6 perl]# make install</font>
<br><font size=2 face="sans-serif">make[1]: Entering directory `/root/net-snmp-5.1.4/perl/default_store'</font>
<br><font size=2 face="sans-serif">make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/default_store'</font>
<br><font size=2 face="sans-serif">make[1]: Entering directory `/root/net-snmp-5.1.4/perl/ASN'</font>
<br><font size=2 face="sans-serif">make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/ASN'</font>
<br><font size=2 face="sans-serif">make[1]: Entering directory `/root/net-snmp-5.1.4/perl/OID'</font>
<br><font size=2 face="sans-serif">make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/OID'</font>
<br><font size=2 face="sans-serif">make[1]: Entering directory `/root/net-snmp-5.1.4/perl/agent'</font>
<br><font size=2 face="sans-serif">make[2]: Entering directory `/root/net-snmp-5.1.4/perl/agent/default_store'</font>
<br><font size=2 face="sans-serif">make[2]: Leaving directory `/root/net-snmp-5.1.4/perl/agent/default_store'</font>
<br><font size=2 face="sans-serif">make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/agent'</font>
<br><font size=2 face="sans-serif">make[1]: Entering directory `/root/net-snmp-5.1.4/perl/SNMP'</font>
<br><font size=2 face="sans-serif">make[1]: Leaving directory `/root/net-snmp-5.1.4/perl/SNMP'</font>
<br><font size=2 face="sans-serif">Files found in blib/arch: installing
files in blib/lib into architecture dependent library tree</font>
<br><font size=2 face="sans-serif">Writing /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/Bundle/NetSNMP/.packlist</font>
<br><font size=2 face="sans-serif">Appending installation info to /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/perllocal.pod</font>
<br><font size=2 face="sans-serif">[root@ggns1proj6 perl]#</font>
<br>
<br><font size=2 face="sans-serif">seems that it is installed properly..
but if i execute <b>mib2c </b>command it gives follwoing error.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br>
<br><font size=2 face="sans-serif"><b>[root@ggns1proj6 perl]# mib2c</b></font>
<br>
<br><font size=2 face="sans-serif"><b>ERROR: You don't have the SNMP perl
module installed. &nbsp;Please obtain</b></font>
<br><font size=2 face="sans-serif"><b>this by getting the latest source
release of the net-snmp toolkit from</b></font>
<br><font size=2 face="sans-serif"><b>http://www.net-snmp.org/download/
... &nbsp;Once you download the source and</b></font>
<br><font size=2 face="sans-serif"><b>unpack it, the perl module is contained
in the perl/SNMP directory.</b></font>
<br><font size=2 face="sans-serif"><b>See the README file there for instructions.</b></font>
<br>
<br><font size=2 face="sans-serif">I have also put the entry</font>
<br><font size=2 face="sans-serif">/lib</font>
<br><font size=2 face="sans-serif">/usr/lib</font>
<br><font size=2 face="sans-serif">/usr/local/lib</font>
<br><font size=2 face="sans-serif">in file <b>ld.so.conf </b>but same problem
still come.<b> </b></font>
<br>
<br>
<br><font size=2 face="sans-serif">Could you please help me in resolving
the problem. &nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=2 face="sans-serif"><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>
--=_alternative 0041F671652572B8_=--


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

--===============0304981175==--

Reply With Quote
Reply


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

vB 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 08:47 PM.


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