I'm working on FreeBSD 11 and already using programs with
tcpdump as a dependency, which has
libsmi as dependencies.
I want to also install
tshark, the console version of wireshark. I'll have to keep tcpdump installed though even though tshark has its own capture capability. Tshark lists
libsmi as a dependency, as well as
libgpg-error, libgpg-error, libgnutls, gnutls, libgcrypt, libgcrypt, libGeoIP, GeoIP, libsmi, libintl, gettext-runtime, libglib-2.0, glib20, libintl and
py-pyshark, any of which might have versions installed or used. The
man page also states it uses
pcap, although this doesn't appear in the list on freshports.
Is there any issue or can I just
pkg install tshark as usual and the OS will sort it out? For interest's sake how does FreeBSD handle this common situation?