Re: Undefined symbol "dropauth"

Alexander Shikoff <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Thu, Dec 18, 2008 at 06:33:35AM -0800, Wes Hardaker wrote:
> >>>>> On Thu, 18 Dec 2008 13:05:40 +0200, Alexander Shikoff <[email protected]> said:
> 
> AS> When script is executing I get an error:
> AS> Can't load '/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/NetSNMP/TrapReceiver/TrapReceiver.so' for module NetSNMP::TrapReceiver: /usr/local/lib/libnetsnmptrapd.so.16: Undefined symbol "dropauth" at /usr/local/lib/perl5/5.8.8/mach/DynaLoader.pm line 230.
> AS> at /data/noc/trapman/trapman.pl line 1
> 
> AS> What am I doing wrong? Thanks in advance.
> 
> My guess is that the snmp library you're using is older than the
> NetSNMP::TrapReceiver module you're using.  They're versions must
> match.

Thanks for your reply.
I think the problem is not with versions...
It seems that NetSNMP::TrapReceiver works only with embedded perl: when
I change

traphandle default perl /data/noc/trapman/trapman.pl

to

perl do "/data/noc/trapman/trapman.pl"

then problem is gone.

-- 
MINO-RIPE

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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.