Hi, Dave
I compiled the example.
But when I run it, it give me error
ldd:FATAL: Could not load library libnetsnmpagent.so.20

But libnetsnmpagent.so.20 is located in /usr/local/lib

What went wrong?
Thanks
Chi Guan

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Tuesday, November 29, 2011 12:28 PM
To: Guan, Chi @ MWG - Datron
Cc: [email protected]
Subject: Re: can not compile snmp_agent_api

On 29 November 2011 18:30,  <[email protected]> wrote:
> I tried to compile the example of
> http://www.net-snmp.org/docs/man/snmp_agent_api.html
> With gcc snmp_agent_api.c `net-snmp-config --agent-libs` But I got 
> error: net-snmp/net-snmp-config.h: No such file or directory

How did you install the software?
What O/S are you working with?

Dave

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
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

Reply via email to