[AGENT++] No library found
Andreas Vinsander
andreas.vinsander at teligent.se
Fri Apr 30 12:08:02 CEST 2004
Samuele wrote:
> Hi,
> I have successfully generate my own SNMP agent. I have my executable under
> /<path-to-agent++>/agentgen/agent/src
>
> When I try to start my agent i get the error message:
> error while loading shared libraries: *libagent++.so*: cannot open
> shared object file: No such file or directory
>
> Such a library is in
> /<path-to-agent++>/lib. Why this library is not found? I have to say
> that this is my first time with agent++...
> Do I miss something? Any help is appreciated.
Set up LD_LIBRARY_PATH for the environment of the agent.
Like this:
[someuser at somehost]$ LD_LIBRARY_PATH=/mypathtoagent++/lib <myagent>
/Andreas
More information about the AGENTPP
mailing list