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: net-snmp-users@lists.sourceforge.net
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 

[EMAIL PROTECTED] 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 

[EMAIL PROTECTED] 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 
[EMAIL PROTECTED] perl]# 

seems that it is installed properly.. but if i execute mib2c command it
gives follwoing error. 
        

[EMAIL PROTECTED] 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to