On mån, 2008-05-12 at 14:48 +0800, Tewen Hsieh wrote: > Hi, > > When I loaded wpWlsCore.so and wpWlsBridge.so, I got following error: > > /not/usr/sbin> ./snmpd -f -L -DwpWlsCore,dlmod > dlmod: register mib > dlmod: dlmod_path: /not/usr//lib/snmp/dlmod > dlmod: dlmod_create_module > dlmod: dlmod_load_module wpWlsCoreMIB: /home/wpWlsCore.so > dlopen failed: /home/wpWlsCore.so: undefined symbol: > netsnmp_oid_stash_no_free > dlmod: dlmod_create_module > dlmod: dlmod_load_module wpWlsBridgeMIB: /home/wpWlsBridge.so > dlopen failed: /home/wpWlsBridge.so: undefined symbol: > netsnmp_oid_stash_no_free > NET-SNMP version 5.1.1 > > Have you ever seen this error?
Almost. I had other modules and another symbol. > How can I resolve this? What version of net-snmp are wpWlsCore.so and wpWlsBridge.so built against? What version of net-snmp are you trying to load them into? Also, what does ldd say about /home/wpWlsCore.so and snmpd? The error message indicates that there is some problem in resolving symbols referenced in the dynamic module. /MF ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders