标签: libpcap

如何在 Ubuntu 12.04 上安装 libpcap 头文件?

如何在 Ubuntu 12.04 上安装 libpcap 头文件?

当我使用时,apt-get install libpcap我收到以下消息:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpcap
Run Code Online (Sandbox Code Playgroud)

apt 12.04 libpcap

30
推荐指数
3
解决办法
17万
查看次数

错误:未找到 pcap 库!

我想安装 reaver 并且我得到的错误是:

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!
Run Code Online (Sandbox Code Playgroud)

我已经尝试过以下命令: …

apt libraries libpcap software-installation

2
推荐指数
1
解决办法
5万
查看次数

apt 安装后在 /usr/lib 或 /lib 中找不到 Libpcap

我安装了jnetpcap,但显示libpcap.so未找到错误,所以我使用

sudo apt-get install libpcap-dev
Run Code Online (Sandbox Code Playgroud)

但当我grep libpcap进去/lib/usr/lib它不在那里,我是否错过了什么?

java libraries libpcap

2
推荐指数
1
解决办法
8889
查看次数

标签 统计

libpcap ×3

apt ×2

libraries ×2

12.04 ×1

java ×1

software-installation ×1