Closed JohnWongCHN closed 1 month ago
┌──(akroid㉿akroid)-[~] └─$ go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest github.com/google/gopacket/pcap
go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap_unix.go:34:10: fatal error: pcap.h: No such file or directory
34 | #include ~~~
compilation terminated.
not able to installl
@JohnWongCHN Could you retry with golang 1.21?
@akroidankur see https://github.com/projectdiscovery/naabu?tab=readme-ov-file#prerequisite
I used golang 1.22.8 to successfully install Naabu, but after installation, I realized that I had used the wrong documentation. I had installed the V1 version of Naabu.
There is no problem to use golang 1.23.2 on Sequoia to install Naabu V2. So close this issue🙂
MacOS: Sequoia 15.0 Go: 1.23.1
Try to install Naabu but got this error