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