xref: /netbsd-src/external/bsd/tcpdump/dist/doc/README.NetBSD.md (revision d881c4745d72e49290b2df21fa0730ed970a047e)
1*d881c474Schristos# Compiling tcpdump on NetBSD
2*d881c474Schristos
3*d881c474SchristosNetBSD has two libpcap libraries: one that is always installed as a part of the
4*d881c474SchristosOS and another that can be installed as a package from pkgsrc.  Also the usual
5*d881c474Schristosmethod of compiling with the upstream libpcap in `../libpcap` is available.
6*d881c474Schristos
7*d881c474SchristosGCC, Clang, Autoconf and CMake are presumed to work, if this is not the case,
8*d881c474Schristosplease report a bug as explained in the
9*d881c474Schristos[guidelines for contributing](../CONTRIBUTING.md).
10*d881c474Schristos
11*d881c474Schristos## NetBSD 9.3
12*d881c474Schristos
13*d881c474Schristos* Upstream libpcap works.
14*d881c474Schristos* OS libpcap works.
15*d881c474Schristos* pkgsrc libpcap works.
16*d881c474Schristos
17*d881c474Schristos## NetBSD 9.2, 9.1 and 9.0
18*d881c474Schristos
19*d881c474Schristos* Upstream libpcap works.
20*d881c474Schristos* OS libpcap cannot be used due to
21*d881c474Schristos  [this bug](https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=55901).
22*d881c474Schristos
23