Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pcap_open_live not found in -lpcap

I am trying to build reaver on Ubuntu 12.04 32bit. I have already built and installed libpcap.

Running ./configure, I get following error:

checking for pcap_open_live in -lpcap... no

error: pcap library not found!

Any help in fixing this is highly appreciated.

EDIT: This is the check in configure script:

{ $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
like image 623
shobhit Avatar asked Jun 01 '12 14:06

shobhit


1 Answers

You need more libraries, take a look at this bug report:

Looks like you need (as odd as it sounds):

sudo apt-get install libpcap-dev sqlite3 libsqlite3-dev
like image 90
Paul Rubel Avatar answered Oct 19 '22 23:10

Paul Rubel