Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-13-2011, 12:55 PM   #1
LQ Newbie
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
Problems installing aircrack-ng

Hi everybody, I am trying to install aircrack-ng . I downloaded the source code and make it. Can you give me any advice because this error occurred :
make -C src all
make[1]: Entering directory `/home/mims/Downloads/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/home/mims/Downloads/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/home/mims/Downloads/aircrack-ng-1.1/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o osdep.o osdep.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o network.o network.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o linux.o linux.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o linux_tap.o linux_tap.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o radiotap/radiotap-parser.o radiotap/radiotap-parser.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o common.o common.c
ar cru libosdep.a osdep.o network.o linux.o linux_tap.o radiotap/radiotap-parser.o common.o
ranlib libosdep.a
touch .os.Linux
make[3]: Leaving directory `/home/mims/Downloads/aircrack-ng-1.1/src/osdep'
make[2]: Leaving directory `/home/mims/Downloads/aircrack-ng-1.1/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o aircrack-ng.o aircrack-ng.c
In file included from aircrack-ng.c:65:
crypto.h:12: fatal error: openssl/hmac.h: No such file or directory
compilation terminated.
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/home/mims/Downloads/aircrack-ng-1.1/src'
make: *** [all] Error 2
Old 02-13-2011, 01:03 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
you need to install openssl headers, probably from an openssl-devel rpm package or an equivalent .deb etc, depending on your distro.
Old 02-13-2011, 01:44 PM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,698

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
Actually, you can also install aircrack-ng with 'Synaptic'
( Ubuntu Softwarecenter ) or : sudo apt-get install aircrack-ng

The missing openssl files : apt-get install libssl-dev



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in installing Aircrack marene Linux - Software 9 01-22-2011 07:14 AM
having trouble installing aircrack-ng from tarball baronobeefdip Linux - Software 7 06-19-2010 03:48 PM
Installing aircrack FLCL SUSE / openSUSE 4 05-15-2009 06:04 PM
Trouble installing Aircrack on OpenSuse 11.1 bryanlee1981 Linux - Software 1 03-01-2009 05:33 PM
Problems installing Aircrack jamminbreeze Linux - Newbie 5 01-08-2008 10:01 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration