LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2008, 09:28 AM   #1
immortaltechnique
Member
 
Registered: Oct 2006
Location: Kenya
Distribution: Ubuntu, RHEL, OpenBSD
Posts: 287

Rep: Reputation: 32
snmpget error


aaarrggg....
Am trying to use snmpget in a script to query information from routers across a network and i need to use snmpget. So i download it and compile it successfully and even install it well.

Problem comes in when i run the program (snmpget) and it spews this error
Code:
snmpget -c snmpget: error while loading shared libraries: libnetsnmp.so.15: cannot open shared object file: No such file or directory
Doing a locate snmpget i find that the shared library does exist and when i try to to create a link to the library it tells me that the file already exists.

Any help please???
 
Old 08-11-2008, 01:39 AM   #2
immortaltechnique
Member
 
Registered: Oct 2006
Location: Kenya
Distribution: Ubuntu, RHEL, OpenBSD
Posts: 287

Original Poster
Rep: Reputation: 32
I figured out the issue, i forgot to export the path: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

I dunno why i have to do this yet in my configure i had set the shared libraries paths right.


Thanks anyway!!!
 
Old 09-26-2012, 10:56 AM   #3
vishal21
LQ Newbie
 
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
I also faced the same issue.

I copied the file libnetsnmp.so.15 from /usr/local/lib to /usr/lib/ and it started working well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
snmpget form c cools Programming 1 07-01-2007 06:31 PM
SNMPGET and SNMPBULKWALK error elnunez Linux - Networking 0 06-27-2006 05:11 AM
help with snmpget alaios Linux - Networking 4 08-25-2005 06:43 AM
linux snmpd and freebsd snmpget localhost127 *BSD 0 11-20-2004 02:52 PM
snmpget ARP table of router parker Programming 0 08-14-2003 01:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration