You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Fedora 27安装reaver-1.4遇pcap library not found错误求助

Fixing "pcap library not found" When Installing Reaver-1.4 on Fedora 27

Hey there, I see you're stuck with a pcap library not found error while trying to get reaver-1.4 running on Fedora 27, and the commands you tried didn't pan out—let's fix this right away.

The core issue here is that the package names you used are for Debian/Ubuntu-based systems, not Fedora (which uses RPM packages instead of DEB). Those libsqlite3-dev and libpcap0.8-dev packages don't exist in Fedora's repositories. Here's what you need to do instead:

Step 1: Install the Correct Dependencies

Fedora uses different naming for development libraries. Run this command to install all required dependencies (including the pcap library and SQLite development files):

sudo dnf install libpcap-devel sqlite-devel gcc make

(Note: Fedora 27 uses dnf as the default package manager—yum still works, but dnf is the recommended tool here.)

Step 2: Compile and Install Reaver-1.4 (For Source Builds)

Assuming you're installing reaver from the source code (since you specified reaver-1.4 specifically), follow these steps after setting up dependencies:

  • Extract the source archive:
    tar xzf reaver-1.4.tar.gz
    cd reaver-1.4/src
    
  • Run the configure script (this should now detect the pcap library without errors):
    ./configure
    
  • Compile and install the tool:
    make && sudo make install
    

Verify the Fix

To double-check that the pcap library is properly detected, run this command:

pkg-config --libs libpcap

You should see output pointing to the installed pcap library files, confirming the dependency is set up correctly.

内容的提问来源于stack exchange,提问作者Jimmy

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 06:17:35