>>>>> On Wed, 19 Aug 2009 15:14:27 +0530, Darshan Ghumare 
>>>>> <[email protected]> said:

DG> I have created subagent using
DG> $*net-snmp-config --compile-subagent mysubagent nstAgentSubagentObject.c*

DG> $./mysubagent
DG> mysubagent: symbol lookup error: /usr/lib/libnetsnmpagent.so.15:
DG> undefined symbol: boot_DynaLoader

Hmm...  That likely means that the perl libraries weren't included in
the list of libraries that net-snmp-config is trying to link against.

Try this:

net-snmp-config --compile-subagent mysubagent nstAgentSubagentObject.c 
--with-ldflags=`net-snmp-config --agent-libs`

and see if that helps.

Be sure that you're using the same net-snmp-config that came from the
source code where your installed libraries came from.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to