- Package:
- libsnmp-dev
- Source:
- net-snmp
- Description:
- SNMP (Simple Network Management Protocol) development files
- Submitter:
- Chris Hofstaedtler
- Date:
- 2025-12-28 18:51:02 UTC
- Severity:
- normal
$ net-snmp-config --agent-libs -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lsensors -lpci -ldl -lnetsnmpagent -lwrap -Wl,-E -lnetsnmp -lcrypto -lm This should really only be -L/usr/lib/x86_64-linux-gnu -lnetsnmpmibs -lnetsnmpagent. Packages that rely on --agent-libs get at least these extra, unnecessary dependencies: libsensors5 libwrap0 libpci3
Hi Chris, Does --netsnmp-agent-libs give you the right answer? That option only gives net-snmp libraries. - Craig
It is also incorrect as it uses -lnetsnmpmibs, which requires the additional libs provided with --agent-libs.