gpt4 book ai didi

linux - 在 -lpcap 中找不到 pcap_open_live

转载 作者:IT王子 更新时间:2023-10-29 00:18:51 25 4
gpt4 key购买 nike

我正在尝试构建 reaver在 Ubuntu 12.04 32 位上。我已经构建并安装了 libpcap .

运行 ./configure,我得到以下错误:

checking for pcap_open_live in -lpcap... no

error: pcap library not found!

非常感谢任何解决此问题的帮助。

编辑:这是检查配置脚本:

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_open_live in -lpcap" >&5

$as_echo_n "checking for pcap_open_live in -lpcap... " >&6; }

if test "${ac_cv_lib_pcap_pcap_open_live+set}" = set; then :

$as_echo_n "(cached) " >&6

else

ac_check_lib_save_LIBS=$LIBS

最佳答案

你需要更多的库,看看这个 bug report :

看起来你需要(听起来很奇怪):

sudo apt-get install libpcap-dev sqlite3 libsqlite3-dev

关于linux - 在 -lpcap 中找不到 pcap_open_live,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10852092/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com