Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
sudo apt-get install libpcap0.8-dev
Original comment by der...@libero.it
on 6 Jan 2012 at 10:49
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
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
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
Forgot to add: x64 system
Original comment by ianc...@gmail.com
on 6 Jan 2012 at 6:50
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
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
@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
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
Original comment by cheff...@tacnetsol.com
on 6 Jan 2012 at 8:18
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
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
"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
"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
"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
Works for me too.... Thanks
Original comment by phil.j.p...@gmail.com
on 13 Mar 2012 at 10:19
Original issue reported on code.google.com by
mojavo...@gmail.com
on 6 Jan 2012 at 8:16