On Wed, 27 Jul 2011 22:55:54 +0200 Claus wrote:
CK> I get errors while starting the agent:
CK> [...snip...]
CK> dyld: lazy symbol binding failed: Symbol not found: _init_iquery
CK>    Referenced from: /Users/clausklein/Workspace/c/net-snmp-build/ 
CK> agent/.libs/libnetsnmpagent.30.dylib
CK>    Expected in: dynamic lookup
CK> 
CK> dyld: Symbol not found: _init_iquery

I'm not sure if this will be the final fix, but it should get you going in the
meantime...

diff --git a/agent/mibgroup/utilities/iquery.c 
b/agent/mibgroup/utilities/iquery.c
index e2aea74..7dcaaf3 100644
--- a/agent/mibgroup/utilities/iquery.c
+++ b/agent/mibgroup/utilities/iquery.c
@@ -208,5 +208,8 @@ netsnmp_session *netsnmp_iquery_session(char* secName,   
int   versio
 
 #else /* NETSNMP_FEATURE_REMOVE_IQUERY */
 netsnmp_feature_unused(iquery);
+void init_iquery(void){
+   NETSNMP_LOGONCE("iquery support not available");
+}
 #endif /* NETSNMP_FEATURE_REMOVE_IQUERY */
 


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to