New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Comments
root@root:~/reaver-wps-fork-t6x/src# ./configure
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! *_
(what is?)
@eminmammadov:
-
Please, when you paste code or terminal output in GitHub, prepend four spaces to each line. If you do this, the block will be monospaced. See the markdown reference. 😄
-
Quote from The Bible of Reaver (lines 41-50): 😈
Reaver is only supported on the Linux platform, requires the libpcap and libsqlite3 libraries, and can be built and installed by running:
./configure make sudo make install
To remove everything installed/created by Reaver:
-
You can install these libraries with these methods:
-
For Debian-based systems:
sudo apt-get install sqlite3 libsqlite3-dev libpcap0.8-dev
-
Repository owner
locked as resolved and limited conversation to collaborators
Jan 5, 2018
Open
Issue created Sep 05, 2015 by Billdb Billdb@billhibadbOwner
./configure fails as pcap is not found
Created by: GoogleCodeExporter
0. What version of Reaver are you using? (Only defects against the latest
version will be considered.)
r69
1. What operating system are you using (Linux is the only supported OS)?
ubuntu 11.10
According libpcap is installed
sudo apt-get install libpcap-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpcap-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
According to this it isn't?
./configure
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!
Tried multiple removes, libpcap compiles from source - which did not work.
Ran from backtrack without problems, though. (running from backtrack is not an
option)
Original issue reported on code.google.com by mojavo...@gmail.com
on 6 Jan 2012 at 8:16
Imported comments:
By GoogleCodeExporter on 2015-09-05 04:08:40 UTC
By GoogleCodeExporter on 2015-09-05 04:08:40 UTC
sudo apt-get install libpcap0.8-dev
Original comment by der...@libero.it
on 6 Jan 2012 at 10:49
By GoogleCodeExporter on 2015-09-05 04:08:40 UTC
Only if it was that simple...
sudo apt-get install libpcap0.8-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpcap0.8-dev is already the newest version.
libpcap0.8-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
~/reaver-wps-read-only$ ./configure
[...]
checking for pcap_open_live in -lpcap... no
error: pcap library not found!
Original comment by mojavo...@gmail.com
on 6 Jan 2012 at 12:48
By GoogleCodeExporter on 2015-09-05 04:08:40 UTC
I can confirm this behavior, though I don't know why the configure script can't
find pcap_open_live in libpcap.so. It uses the standard AC_CHECK_LIB macro, and
pcap_open_live is clearly in the library (confirmed by readelf). Will need to
look in to this more; for now, use something other than Ubuntu 11.10 (this
doesn't happen in Ubuntu 10.04 or BT5).
Original comment by cheff...@tacnetsol.com
on 6 Jan 2012 at 1:56
- Changed state: Accepted
- Added labels: Priority-Low
- Removed labels: Priority-Triage
By GoogleCodeExporter on 2015-09-05 04:08:40 UTC
Fedora 16..pcap and pcap-devel installed..
i get same results from ./configure
Original comment by ianc...@gmail.com
on 6 Jan 2012 at 6:49
By GoogleCodeExporter on 2015-09-05 04:08:40 UTC
Forgot to add: x64 system
Original comment by ianc...@gmail.com
on 6 Jan 2012 at 6:50
By GoogleCodeExporter on 2015-09-05 04:08:40 UTC
I have found the solutions.
The configure script exits on SQLite3..so just install sqlite3-devel and
everything is ok
Original comment by ianc...@gmail.com
on 6 Jan 2012 at 6:57
By GoogleCodeExporter on 2015-09-05 04:08:40 UTC
Installing "libsqlite3-dev" in Ubuntu 12.04 works. Thanks for the solution :)
Original comment by rob...@keizer.ca
on 6 Jan 2012 at 7:27
By GoogleCodeExporter on 2015-09-05 04:08:40 UTC
@mojavosas, I don't have this problem anymore with the latest SVN.
Original comment by cheff...@tacnetsol.com
on 6 Jan 2012 at 7:41
By GoogleCodeExporter on 2015-09-05 04:08:41 UTC
Correct - r73 fix'ed the issue.
Installing "libsqlite3-dev" is also a good idea.
Original comment by mojavo...@gmail.com
on 6 Jan 2012 at 8:13
By GoogleCodeExporter on 2015-09-05 04:08:41 UTC
Original comment by cheff...@tacnetsol.com
on 6 Jan 2012 at 8:18
- Changed state: Fixed
By GoogleCodeExporter on 2015-09-05 04:08:41 UTC
in fedora 16
yum install libpcap-devel
yum install sqlite-devel
all works!
Original comment by noisey...@gmail.com
on 9 Jan 2012 at 8:50
By GoogleCodeExporter on 2015-09-05 04:08:41 UTC
got the fix for Ubuntu 10.04
apt-get install libpcap3-dev
apt-get install libsqlite3-dev
apt-get install libnl2-dev
now the important:
!!! libnl2 needs libdect !!!
so you have to edit the configure script with your editor - I take vi :)
vi configure
on line 2784 add -lnl and -ldect => LDFLAGS="-ldl -lm -lpcap -lsqlite3 -lnl
-ldect $LDFLAGS"
on line 2793 add -lnl and -ldect => LIBS="-lpcap -lnl -ldect $LIBS"
save all with your editor and exit (in vi with ":x")
do the same with file configure.ac
on line 7 add -lnl and -ldect => LDFLAGS="-ldl -lm -lpcap -lnl -ldect -lsqlite3
$LDFLAGS"
then the old proceedure:
make distclean
./configure
make
...
hope it helps
Original comment by schroedl...@googlemail.com
on 18 Jan 2012 at 8:24
By GoogleCodeExporter on 2015-09-05 04:08:41 UTC
"so just install sqlite3-devel and everything is ok"
This worked for me on Ubuntu 11.10 x64
Original comment by dfarrel...@gmail.com
on 7 Feb 2012 at 7:08
By GoogleCodeExporter on 2015-09-05 04:08:41 UTC
"apt-get install libsqlite3-dev"
works for me on Ubuntu 11.10 x64 also.
Original comment by howerkr...@gmail.com
on 17 Feb 2012 at 3:00
By GoogleCodeExporter on 2015-09-05 04:08:41 UTC
"apt-get install libsqlite3-dev" works for me too on Mint 12 ! Thanks for the
solution !
Original comment by pierrebrunel84@gmail.com
on 17 Feb 2012 at 4:20
By GoogleCodeExporter on 2015-09-05 04:08:41 UTC
Works for me too.... Thanks
Original comment by phil.j.p...@gmail.com
on 13 Mar 2012 at 10:19
By GoogleCodeExporter on 2015-09-05 04:08:41 UTC
"apt-get install libsqlite3-dev"
works for me on Ubuntu 11.10 x64
Original comment by yari...@gmail.com
on 3 Apr 2012 at 8:31
By GoogleCodeExporter on 2015-09-05 04:08:41 UTC
FC16-x86_64
http://cyruslab.wordpress.com/2012/02/19/compiling-reaver-wps-error-pcap-library
-not-found/
Original comment by r.schuur...@gmail.com
on 5 Apr 2012 at 7:16
By GoogleCodeExporter on 2015-09-05 04:08:42 UTC
I ran into the same problem on CentOS 6:
uname -a --> Linux 2.6.32-220.13.1.el6.x86_64 #1 SMP Tue Apr 17 23:56:34 BST
2012 x86_64 x86_64 x86_64 GNU/Linux
Download the latest version from
http://code.google.com/p/reaver-wps/downloads/list)
$ gunzip reaver-1.4.tar.gz
$ tar -xvf reaver-1.4.tar
$ cd reaver-1.4/src
$ ./configure ==> error pcap not found (found in libpcap)
$ su root
# yum install libpcap-devel ==> OK base
# yum install sqlite-devel ==> OK base
# cd reaver-1.4/src
# ./configure
# make
# make install
# exit
$ which reaver --> /usr/local/bin/reaver
Original comment by Rocksock...@gmail.com
on 16 May 2012 at 9:13
By GoogleCodeExporter on 2015-09-05 04:08:42 UTC
works for me on Debian Squeeze 2.6.32-5-686
//syberia55
Original comment by 624...@gmail.com
on 26 May 2012 at 5:45
By GoogleCodeExporter on 2015-09-05 04:08:42 UTC
Thanks, the install sqlite3-dev works for me on Debian Squeeze.
Original comment by rodneyha...@gmail.com
on 29 May 2012 at 6:48
By GoogleCodeExporter on 2015-09-05 04:08:42 UTC
It's doesn' work for me. I have ubuntu 10.04 lts and It doesn't install
libpcap0.8-dev, libnl2-dev. I can't find libpcap3-dev! Where I find it?
Thanks.
Original comment by bellaaus...@gmail.com
on 3 Jun 2012 at 1:46
By GoogleCodeExporter on 2015-09-05 04:08:42 UTC
By GoogleCodeExporter on 2015-09-05 04:08:42 UTC
hi, i use ubuntu 11.10 but when i tried to install 1.4 and 1.3 it does not work
but the version 1.2 it work
Original comment by saadyyou...@gmail.com
on 30 Jul 2012 at 5:10
By GoogleCodeExporter on 2015-09-05 04:08:42 UTC
also you can try this before installing
sudo apt-get install libsqlite3-dev libpcap0.8-dev build-essential
its works for all
Original comment by saadyyou...@gmail.com
on 30 Jul 2012 at 5:19
By GoogleCodeExporter on 2015-09-05 04:08:42 UTC
Comment #26 by saadyyou...@gmail.com worked finally. Thank you!
Original comment by peeon...@gmail.com
on 29 Aug 2012 at 11:56
By GoogleCodeExporter on 2015-09-05 04:08:42 UTC
@schroedl... I did what you said but the problem remains.:( also i can't find
libcap3-dev or libnl2-dev as you mention, but previous releases from theese two
dev-s i mentioned.... Any Ideas?
libsqlite3-dev... i found only that! And i downloaded previous releases from
the other 2 , but the problem still remains:
error: pcap library not found!
please Help!!!
Original comment by panaka...@gmail.com
on 27 Oct 2012 at 3:12
By GoogleCodeExporter on 2015-09-05 04:08:42 UTC
Hi guys,
I have the same problem as bellaaus and panaka, Can't install libpcap3-dev.
---
sudo apt-get install libpcap3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpcap3-dev
---
Original comment by ponytheo...@gmail.com
on 3 Nov 2012 at 9:22
By GoogleCodeExporter on 2015-09-05 04:08:43 UTC
Ok, installed BT5r3 in a USB with Unetbootin!! Now it 's all ok,...
I have another problem in reaver:
SENDING EAPOL START REQUEST
WARNING RECEIVED TIMEOUT..
SENDING EAPOL START REQUEST
WARNING RECEIVED TIMEOUT..
SENDING EAPOL START REQUEST
WARNING RECEIVED TIMEOUT..
.............
and goes on....
The Ap i am trying to reach has WPS Unlocked...
I appreciate whoever helps me in this, But I also know that i might have ritten
this post at another Issue # page.... :)
Original comment by panaka...@gmail.com
on 10 Nov 2012 at 8:20
By GoogleCodeExporter on 2015-09-05 04:08:43 UTC
working after installing sqlite3-devel package on OpenSuse 12.2
Original comment by aleks.ch...@gmail.com
on 6 Jan 2013 at 10:19
By GoogleCodeExporter on 2015-09-05 04:08:43 UTC
And you wonder why people prefer Windows!
Original comment by touchdow...@gmail.com
on 10 Jan 2013 at 5:59
By GoogleCodeExporter on 2015-09-05 04:08:43 UTC
# apt-get install build-essential libpcap0.8 libpcap-dev libsqlite3-0
libsqlite3-devinstall build-essential libpcap0.8 libpcap-dev libsqlite3-0
libsqlite3-dev
enjoy! :)
Original comment by cove...@gmail.com
on 6 Feb 2013 at 9:01
By GoogleCodeExporter on 2015-09-05 04:08:43 UTC
"sudo apt-get install libsqlite3-dev libpcap0.8-dev build-essential" only
worked for me. Thank you.
Ubuntu 12.04.1 LTS
Original comment by atohodgu...@gmail.com
on 19 Feb 2013 at 12:38
By GoogleCodeExporter on 2015-09-05 04:08:43 UTC
libpcap0.8-dev work for ubuntu 12.10
Original comment by hishamze...@gmail.com
on 1 Mar 2013 at 5:57
By GoogleCodeExporter on 2015-09-05 04:08:43 UTC
In Ubuntu 12.10
Install This
sudo apt-get install libpcap-devsudo
apt-get install libpcap0.8-dev
Install Reaver
sudo -i
Add You Pass : ××××
tar -xzvf reaver-1.4.tar.gz
cd reaver-1.4
cd src
./configure
make
make install
exit
Then Run : sudo reaver
Original comment by alm6iri2...@gmail.com
on 6 Mar 2013 at 1:56
By GoogleCodeExporter on 2015-09-05 04:08:43 UTC
install "libsqlite3-dev" work for me in ubuntu 12.10
Original comment by bubini.m...@gmail.com
on 20 Mar 2013 at 11:48
By GoogleCodeExporter on 2015-09-05 04:08:43 UTC
Installing sqlite-devel on Fedora 18 x86_64 fixed the issue for me as well.
Original comment by strash...@gmail.com
on 6 Apr 2013 at 10:47
By GoogleCodeExporter on 2015-09-05 04:08:44 UTC
the same isue on debian 7.1 amd64
installing libqlite3-dev sovled the issue.
what a weird misleading error message!!
Original comment by alejandr...@gmail.com
on 15 Aug 2013 at 10:30
By GoogleCodeExporter on 2015-09-05 04:08:44 UTC
Original comment by moustaco...@gmail.com
on 6 Nov 2013 at 6:10
By GoogleCodeExporter on 2015-09-05 04:08:44 UTC
Thanks, it works in ubuntu12.04 just like what #2 said
Original comment by jfgon...@gmail.com
on 30 Nov 2013 at 10:23
By GoogleCodeExporter on 2015-09-05 04:08:44 UTC
OpenSuse 13.1
sudo zypper install sqlite3-
sudo zypper install sqlite3-devel
sudo zypper install libpcap-devel
Works
Original comment by d...@t-tine.com
on 10 Apr 2014 at 10:02
By GoogleCodeExporter on 2015-09-05 04:08:44 UTC
By GoogleCodeExporter on 2015-09-05 04:08:44 UTC
You can Download the libpcap from
http://www.linuxfromscratch.org/blfs/view/svn/basicnet/libpcap.html after that
you download it mount the zipfile using winrar or poweriso and then copy the
folder and paste it in "/usr/include/".
Good Luck!
Original comment by wajid.na...@gmail.com
on 14 Apr 2014 at 5:42
By GoogleCodeExporter on 2015-09-05 04:08:44 UTC
Installed libpcap-dev, libsqlite3-dev, libpcap-dev.
libpcap0.8 is already latest version. Also tried adding libpcap directly to
/usr/include/
Still getting pcap library not found.
Ubuntu 12.04 32-bit.
Original comment by lord.aar...@gmail.com
on 17 Apr 2014 at 4:23
By GoogleCodeExporter on 2015-09-05 04:08:44 UTC
Got the issue with reaver 1.4 on Kali, install libsqlite3-dev and know it's
working
Thx guys ;)
Original comment by Mac7...@gmail.com
on 30 Jun 2014 at 9:02
By GoogleCodeExporter on 2015-09-05 04:08:44 UTC
So I'm trying to install reaver-1.4 on Fedora 19 and getting the above "pcap
library not found!" message. So I installed subversion and rpmfinder and
airmon-ng and libcap-1.6.1 and libpcap-devel and ipstat and sqlite and sqlite3
and ruby and GCC. I can't even find poweriso for F19 So I can't move the pcap
folder from the libpcap folder into /usr/include/. I tried screaming at my
computer for two days, I had started with fedora 18 so I upgraded to this, I
downloaded ubuntu but haven't upgraded to that yet (if I do will I have to
install all this stuff again?) I'm also downloading Kali, all so I can use the
internet when the linksys Ap craps out on me every few days. I've done
everything short of human sacrifice, but my roommate looks like he might sate
the gods and I don't want to pay full rent.
[root@localhost src]# ./configure
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!
^This is what I dream of when I go to sleep. My box must be starving because I
feed it all kinds of programs with yum.
Original comment by JosephaM...@gmail.com
on 4 Aug 2014 at 4:38
By GoogleCodeExporter on 2015-09-05 04:08:44 UTC
apt-get install libcap-dev sqlite3 libsqlite3-dev libpcap0.8-dev
it's solved
Original comment by beokhoeb...@gmail.com
on 4 Oct 2014 at 4:59
By GoogleCodeExporter on 2015-09-05 04:08:45 UTC
hiii...i am using kali linux
i cannot install the package [ liqsqlite3-dev ]
error :
apt-get install libsqlite3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libsqlite3-dev
please help
Original comment by feen...@gmail.com
on 30 Jan 2015 at 6:57
By GoogleCodeExporter on 2015-09-05 04:08:45 UTC
sudo apt-get install libpcap-dev works for pcap library in ubuntu 14.10 64 bit
Original comment by GauravSi...@gmail.com
on 29 Apr 2015 at 7:14
By GoogleCodeExporter on 2015-09-05 04:08:45 UTC
Original comment by vlad.lar...@gmail.com
on 7 Jun 2015 at 4:27
By GoogleCodeExporter on 2015-09-05 04:08:45 UTC
sudo apt-get install libsqlite3-dev libpcap0.8-dev
work for mi in Debian 8
Original comment by AdnerVL
on 15 Jul 2015 at 1:14
Автор | Сообщение | ||
---|---|---|---|
Заголовок сообщения: error: pcap library not found! Добавлено: Пт 28 сен, 2012 11:22 am |
|||
|
Хотел установить утилиту reaver из сорцов. Сделал Код: $ svn checkout reaver-wps.googlecode.com/svn/trunk/ reaver-wps Выводится ошибка error: pcap library not found! Установлено это, но видно, нужно что-то ещё. Цитата: %pkg_info | grep pcap _________________ |
||
Вернуться к началу |
|
||
skeletor |
Заголовок сообщения: Добавлено: Пт 28 сен, 2012 2:47 pm |
|
Судя по % у вас скорее всего csh/tcsh. |
Вернуться к началу |
|
yolkfolk |
Заголовок сообщения: Добавлено: Пт 28 сен, 2012 2:47 pm |
|
skeletor писал(а): Судя по % у вас скорее всего csh/tcsh.
Да. _________________ |
Вернуться к началу |
|
skeletor |
Заголовок сообщения: Добавлено: Пт 28 сен, 2012 4:16 pm |
|
Тогда смотрите где у вас лежат библиотеки libpcap и добавляйте их к списку через ldconfig |
Вернуться к началу |
|
AMDmi3 |
Заголовок сообщения: Добавлено: Пт 28 сен, 2012 4:30 pm |
||
|
Смотрите config.log и исправляйте ошибки которые там появляются.
1. Надо удалить -ldl из 2784 строки configure libpcap из портов не нужен, т.к. библиотека есть в базовой системе, а её копия из портов может создавать конфликты. И rehash тут совсем ни к чему. ldconfig тем более. |
||
Вернуться к началу |
|
||
yolkfolk |
Заголовок сообщения: Добавлено: Пт 28 сен, 2012 4:51 pm |
|
AMDmi3 писал(а): Смотрите config.log и исправляйте ошибки которые там появляются. 1. Надо удалить -ldl из 2784 строки configure libpcap из портов не нужен, т.к. библиотека есть в базовой системе, а её копия из портов может создавать конфликты. И rehash тут совсем ни к чему. ldconfig тем более. Спасибо, всё помогло, но с последним пунктом не так всё просто. Код: $ make 36 строка Код: init.o: Загуглить про iwlib не удалось. _________________ |
Вернуться к началу |
|
AMDmi3 |
Заголовок сообщения: Добавлено: Пт 28 сен, 2012 5:01 pm |
||
|
|||
Вернуться к началу |
|
||
yolkfolk |
Заголовок сообщения: Добавлено: Пт 28 сен, 2012 5:52 pm |
|
|
Вернуться к началу |
|
Talalay |
Заголовок сообщения: Re: error: pcap library not found! Добавлено: Ср 15 окт, 2014 4:13 pm |
|
Доброго времени суток. У меня проблема со сборкой reaver root@toshiba:~/reaver-1.4/src # gmake Направьте новичка в правильное русло. Спасибо |
Вернуться к началу |
|
AMDmi3 |
Заголовок сообщения: Re: error: pcap library not found! Добавлено: Ср 15 окт, 2014 7:53 pm |
||
|
Talalay писал(а): Направьте новичка в правильное русло. Спасибо Изучите C, архитектуру Linux, архитектуру FreeBSD и портируйте это приложение. |
||
Вернуться к началу |
|
||
Talalay |
Заголовок сообщения: Re: error: pcap library not found! Добавлено: Чт 16 окт, 2014 6:01 pm |
|
AMDmi3 писал(а): Talalay писал(а): Направьте новичка в правильное русло. Спасибо Изучите C, архитектуру Linux, архитектуру FreeBSD и портируйте это приложение. второй день сижу чутаю как портировать под юникс. думаю шанс есть)))))) |
Вернуться к началу |
|
AMDmi3 |
Заголовок сообщения: Re: error: pcap library not found! Добавлено: Чт 16 окт, 2014 6:13 pm |
||
|
Ну тогда лучше начать с чего-нибудь попроще. Как я писал, AMDmi3 писал(а): 4. Исправляйте ошибки сборки iwlib, т.к. последняя написана весьма под linux. тут нужно довольно глубоко копаться, и с нуля это за несколько дней не делается. |
||
Вернуться к началу |
|
||
Кто сейчас на конференции |
Зарегистрированные пользователи: Bing [Bot], Google [Bot] |
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения |