RE: ERROR: You don't have the SNMP perl module installed
Adam Bell <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
try --with-perl-modules as an option in configure and make again _____ From: [email protected] [mailto:[email protected]] On Behalf Of Awadhesh Kumar Sent: Monday, April 09, 2007 7:39 AM To: [email protected] Cc: [email protected] 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. ------------------------------------------------------------------------- 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?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users