error pcap library not found

旧街凉风 提交于 2019-12-12 06:45:51

问题


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.



来源:https://stackoverflow.com/questions/47430289/error-pcap-library-not-found

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!