On ons, 2008-04-23 at 11:12 +0800, Tewen Hsieh wrote:
> Hi,
>  
> I have checked my snmpd and libraries, they have the same versions
> (5.2.4).
>  
> Is there any other reason to cause an error in the step 6?
>  
>   
> But I got an error in step 6. It showed "SNMP table:
> UCD-DLMOD-MIB::dlmodTable
>  
>             dlmodName
> dlmodPath
> dlmodError dlmodStatus
>  nstAgentModuleObject /home/net-snmp-module-example/nstAgentModuleObject.so 
> dlopen failed: /home/net-snmp-module-example/nstAgentModuleObject.so: 
> undefined symbol: snmp_get_do_debugging       error
> ".

Now I have tried using 5.2.4.
It do fail as described.

It seems as if the installed snmpd is linked using the static versions
of the libraries. (Check using ldd)

I redid it using

./configure --enable-shared
make
make install

and then it worked as advertised.

Using trunk it worked right away.

/MF

> -- 
> This message has been scanned for viruses and 
> dangerous content by MailScanner, and is 
> believed to be clean. 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________ Net-snmp-coders mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to