projectdiscovery / naabu

A fast port scanner written in go with a focus on reliability and simplicity. Designed to be used in combination with other tools for attack surface discovery in bug bounties and pentests
https://projectdiscovery.io
MIT License
4.69k stars 548 forks source link

The following packages have unmet dependencies: #733

Closed SiLeNtKiLLeR-ArT closed 1 year ago

SiLeNtKiLLeR-ArT commented 1 year ago

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.

MetzinAround commented 1 year ago

Hi! Thanks for the issue.

I would recommend uninstalling naabu, then running apt install libpcap-dev, then reinstalling naabu. It shoudl work after that! :)