On fre, 2008-05-16 at 14:01 +0800, Tewen Hsieh wrote: > Hi, > > Thanks for reply. > > > Coud you please includ the output of ldd on both the agent and the .so. > > /not/usr/sbin> ls > snmpd snmptrapd > /not/usr/sbin> ldd ./snmpd
Ok. This looks reasonable. > > I'd guess that there is some problem with the library resolve paths. > > If you start snmpd as > > > > LD_LIBRARY_PATH=/not/usr/lib ./snmpd -f -L -DwpWlsCore,dlmod > > > > and repeats the test, does it work then? > > I have tried this, but it still showed the same error message. > > > It might help to add --with-ldflags=-Wl,-rpath,/not/usr/lib but that > > could also be bad - I do not know enough to answer better. > > I also tried this, but still the same error. Ok, then we go for another check: What is the output of nm snmpd | grep netsnmp_oid_stash_no_free and nm /home/wpWlsBridge.so | grep netsnmp_oid_stash_no_free /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