Closed SiLeNtKiLLeR-ArT closed 1 year ago
go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest github.com/google/gopacket/pcap
/root/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.
Hi! Thanks for the issue.
I would recommend uninstalling naabu, then running apt install libpcap-dev, then reinstalling naabu. It shoudl work after that! :)
apt install libpcap-dev
go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest github.com/google/gopacket/pcap
github.com/google/gopacket/pcap
/root/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.