On 1 December 2011 18:07,  <[email protected]> wrote:
> 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


I don't have any experience with QNX myself,
but on Linux systems, the dynamic linker sometimes
needs to be told to look for libraries under /usr/local/lib

If there is a directory /etc/ld.conf.d  (or similar),
try creating a file there called   "net-snmp.conf"
containing the line
     /usr/local/lib

and run the command "ldconfig".
See if that helps.

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