未找到 pcap 库!

未找到 pcap 库!
 ./configure
 checking for gcc... gcc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables... 
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking for pcap_open_live in -lpcap... no
 error: pcap library not found!

[我已经尝试过这些命令]

sudo apt-get install libsqlite3-0 libpcap0.8
[sudo] password for lester: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libpcap0.8 is already the newest version (1.7.4-2).
libpcap0.8 set to manually installed.
libsqlite3-0 is already the newest version (3.11.0-1ubuntu1)

但我仍然无法配置 Reaver

答案1

这是你缺少的软件包,其中包含从到 的libpcap0.8-dev相应符号链接。根据libpcap.solibpcap.so.0.8这个答案根据 Debian 惯例,未版本化的符号链接是-dev软件包的一部分。

相关内容