找不到错误的pcap库 [英] error pcap library not found
本文介绍了找不到错误的pcap库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在运行Fedora 27,并且正在尝试安装Reaver 1.4
这里是命令。
./configure
和结果。
检查gcc ... gcc
检查C编译器works ... yes
检查C编译器的默认输出文件名... a.out
检查可执行文件的后缀...
检查我们是否正在交叉编译... no
检查目标文件的后缀... o
检查我们是否使用GNU C编译器...是
检查gcc是否接受-g ...是
检查gcc选项接受ISO C89 ...无需
在-lpcap中检查pcap_open_live ... no
错误:未找到pcap库!
任何帮助将不胜感激。
解决方案
对于基于debian的系统,您需要安装以下软件包:
sudo apt-get install sqlite3 libsqlite3-dev libpcap0.8-dev
./configure
,你应该没问题。 i am running Fedora 27 and i am trying to install Reaver 1.4 here is the command.
./configure
and the result.
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!
any help would be appreciated.
解决方案
For debian based system you'll need the following packages installed:
sudo apt-get install sqlite3 libsqlite3-dev libpcap0.8-dev
Then try ./configure
again and you should be fine
这篇关于找不到错误的pcap库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文