Re: Problem while running snmpwalk command

"Nikos Balkanas" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <001f01c9725a$f65ef090$02b2a8c0@tardis>
Hmmm... This seems a rather frequent issue in the group. Maybe a FAQ would be useful.

Type:

ldd $(which snmpwalk)

You should find some libraries missing. Make sure that you have them and add the path in either LD_LIBRARY_PATH (Solaris) or /etc/ld.so.conf (Linux).

BR,
Nikos
  ----- Original Message ----- 
  From: saurabh jain 
  To: [email protected] 
  Sent: Friday, January 09, 2009 2:21 PM
  Subject: Problem while running snmpwalk command


  Dear Users 

  I have installed net-snmp-5.4.2.1. on my i386 machine using its sources code net-snmp-5.4.2.1.tar.gz . in /usr/src directory .



  I have used following command to do this:



  root@:/usr/src/net-snmp-5.4.2.1#  ./ configure  --with -perl -module    

  root@:/usr/src/net-snmp-5.4.2.1#make 

  root@:/usr/src/net-snmp-5.4.2.1#make install 

  through which I am able to install snmp successfully on my PC.



  After this when I gave following command I got error message as shown below : 


  root@:/# snmpwalk -v1 -c public localhost
  snmpwalk: error while loading shared libraries: libnetsnmp.so.15: cannot open shared object file: No such file or directory


  Kindly help me how can I solve  this problem .

  Thanks and Regards 

  SAURABH   JAIN 





------------------------------------------------------------------------------


  ------------------------------------------------------------------------------
  Check out the new SourceForge.net Marketplace.
  It is the best place to buy or sell services for
  just about anything Open Source.
  http://p.sf.net/sfu/Xq1LFB


------------------------------------------------------------------------------


  _______________________________________________
  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

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.