main.cc line 899: lAgent seems to be going out of scope right after instantiation
I think, this causes SNMP support to fail. Possible fix:
shared_ptr<SnmpAgent> lAgent;
if (startProxy){
a->start(transportsArg.getValue());
setOpenSSLThreadSafe();
#ifdef ENABLE_SNMP
bool snmpEnabled = cfg->getGlobal()->get<ConfigBoolean>("enable-snmp")->read();
if (snmpEnabled) {
lAgent = make_shared<SnmpAgent>(*a, *cfg, oset);
}
#endif