Fedora 27安装reaver-1.4遇pcap library not found错误求助
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

