Error while starting a subagent
"vishakha s" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Thanks for your help . I issued the following command net-snmp-config --compile-subagent dot1dBridge.c It displayed the following details generating the tmporary code file: netsnmptmp.2024.c void init_dot1dBridge(void); checking for init_dot1dBridge in dot1dBridge.c init_dot1dBridge(void) running: gcc -g -O2 -Dlinux -I. -I/usr/local/include -o mysubagent netsnmptmp. 024.c dot1dBridge.c -L/usr/local/lib -lnetsnmpagent -lnetsnmpmibs -lnetsnmphel ers -lnetsnmp -ldl -lcrypto -lelf -lm removing the tmporary code file: netsnmptmp.2024.c subagent program mysubagent created But when I run ./mysubagent ,It gives following error ./mysubagent: error while loading shared libraries: libnetsnmpagent.so.5: cannot open shared object file: Error 40 What may be the Problem ?? Thanks a lot in advance with regards Vishakha The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [email protected] ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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