On Jun 20, 2008, at 5:33 PM, Thomas Anders wrote:

> Peter Volkov wrote:
>> Does net-snmp needs libelf on linux and if yes then for what? I
>> found elfutils-libelf-devel in redhat .spec and other distributions  
>> have
>> similar dependency.
>
> Actually I can't see why it'd be needed on Linux in general either. At
> least for my local builds on SuSE, snmpd isn't linked against libelf.
>

The linkage -lelf likely needed for -lrpm

Meanwhile, there's a modest 1 line patch to net-snmp
code to use files in /var/cache/hrmib maintained by
rpm to populate the HR-MIB instead, and then net-snmp
does not have to directly link -lrpm (and Berkeley DB and
-lelf and -lbeecrypt and ...)

PLD is currently using the patch successfully.

Populating /var/cache/hrmib for use by net-snmp HR-MIB
can also be done by cron if desired.

73 de Jeff

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to