Re: can not compile snmp_agent_api

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGYScx5-uzLt3tn2Dz2DLN3oX3NCQ=AEzWqEzpZSg61mCw@mail.gmail.com>
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
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.