problem trying to dynamically load modules

san <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi

As per tutorial "NET-SNMP Tutorial -- Dynamic Module Creation for the
net-snmp agent"

there is a note which says
*Note:* For this to work, you must have compiled the net-snmp package with
dynamicly loadable module support turned on, as well as built it with
--enable-shared turned on. (It's on by default, if your system supports it).

I have included --enable-shared in my configure script
and I have generated a .so file and mentioned in snmpd.conf files as shown
below
dlmod testmib /usr/lib/libtestmib.so

with this, I am not able to walk through the agent

The same code works fine when built with the agent i.e.,
--with-mib-modules=testmib

I want to know do I need to pass any other options while configuring net
snmp as said in the NOTE.
But I don't see any options for turning on dynamically loadable support when
I run configure --help

I need options which enables dynamically loadable support for net snmp

Thanks
San

-------------------------------------------------------------------------
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-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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.