On Sun, 30 Jan 2005 01:04:39 -0800 [EMAIL PROTECTED] wrote:
WC> I took the code of the routine init_mib_modules() and copied it to
WC> the file snmpd.c, placing it just ahead of the function main().  I
WC> actually kept it with the modified name of init_mib_modules_wrb().
WC> Then made the daemon anew, and executed it.  The resulting output is
WC> 
WC> [EMAIL PROTECTED] net-snmp-5.2]# ./agent/.libs/snmpd -Dmib_init -H
WC> No log handling enabled - turning on stderr logging
WC> mib_init: initializing: usmConf
WC> mib_init: initializing: subagent
WC> mib_init: initializing: vacm_conf
WC> mib_init: initializing: agentx_config
WC> mib_init: initializing: dot11StationConfigTable
WC> ./agent/.libs/snmpd: relocation error: ./agent/.libs/snmpd: undefined
WC> symbol: init_dot11StationConfigTable

This sounds like the locally modified agent is picking up the standard
installed libraries.

Try running 'ldd snmpd' on the agent, and see where it it picking up the
libraries.

I'd recommend reconfiguring the agent with --disable-shared --enable-static
while testing...


-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to