linux已经安装libpcap,但安装ettercap时提示“libpcap not found”,请各位大侠支招

下面是一下log:
Checking user defined options...

checking if --enable-debug option was specified... no
checking if --enable-plugins option was specified... not supported
checking for libpcap... no
configure: error: libpcap not found
[root@localhost ettercap-NG-0.7.3]# rpm -qv libnet
libnet-1.1.2.1-2.rf
[root@localhost ettercap-NG-0.7.3]# rpm -qv libpcap
libpcap-0.9.4-15.el5
[root@localhost ettercap-NG-0.7.3]# cat /proc/version
Linux version 2.6.18-128.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Wed Dec 17 11:42:39 EST 2008
[root@localhost ettercap-NG-0.7.3]#

请先去学 Linux 基础知识。

编译软件西要的是编译部分的数据,你搜索的那个 libpcap-0.9.4-15.el5 只是运行部分数据,这些是不可能被编译时的程序调用的。

装 libpcap-devel 。
温馨提示:答案为网友推荐,仅供参考