On my 9.2-ish system, I see: root@stable9-170: pkg info -d net-snmp net-snmp-5.7.2_16: openssl-1.0.1_16 perl5-5.16.3_11 Yet 'ldd' tells me it is linked against libpci.so: root@stable9-171: ldd /usr/local/sbin/snmpd | grep libpci libpci.so => /usr/local/lib/libpci.so (0x801104000) And if I install just the binary pkg onto a different machine with a very limited set of packages, I see: pkg-static: (net-snmp-5.7.2_16) /usr/local/bin/agentxtrap - required shared library libpci.so not found pkg-static: (net-snmp-5.7.2_16) /usr/local/sbin/snmpd - required shared library libpci.so not found pkg-static: (net-snmp-5.7.2_16) /usr/local/sbin/snmptrapd - required shared library libpci.so not found
Auto-assigned to maintainer zi@FreeBSD.org
A commit references this bug: Author: zi Date: Thu Jan 29 02:03:10 UTC 2015 New revision: 378098 URL: https://svnweb.freebsd.org/changeset/ports/378098 Log: - Never link against libpci - Fix build under 11 - Bump PORTREVISION PR: 196904, 194881 Changes: head/net-mgmt/net-snmp/Makefile head/net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_icmp.h