Description of problem: With php-snmp installed the error_log (or stderr) is getting spammed at startup. No log handling enabled - turning on stderr logging Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) Cannot find module (SNMPv2-MIB): At line 0 in (none)
This happens iff net-snmp-libs is installed but not net-snmp. If net-snmp-libs will not work correctly without net-snmp installed the former should require the latter? Or should I just make php-snmp require net-snmp explicitly?
I guess net-snmp-libs should be required for build and net-snmp package in requires so the MIBs can be used.
So I should change the PHP requires, Radek, that's what you're saying?
Yep, I think Requires: net-snmp BuildRequires: net-snmp-libs
OK thanks a lot.