error pcap library not found

2019-09-21 01:56发布

问题:

i am running Fedora 27 and i am trying to install Reaver 1.4 here is the command.

 ./configure

and the result.

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!

any help would be appreciated.

回答1:

For debian based system you'll need the following packages installed:

sudo apt-get install sqlite3 libsqlite3-dev libpcap0.8-dev

Then try ./configure again and you should be fine



回答2:

SOLVED

i was missing a library all i did is :

yum install sqlite-devel

then every thing goes fine.

Thanks for trying helping me.