On Mon, 21 Jun 2004 11:53:49 +0200 Liat wrote: LA> I compiled the subagent example found in the site, executed it and ran LA> snmpget. The subagent printed the following output and than exited. LA> LA> subagent output: [snip] LA> ./example-demon: relocation error: /usr/lib/libnetsnmpagent.so.5: undefined LA> symbol: hosts_ctl
I'm guessing (1) you are on RedHat, and (2) you have the net-snmp rpm AND a source version installed. Do you see multiple versions of each library if you run this command? ls /usr/lib/*snmp* /usr/local/lib/*snmp* -- Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders