Getting an error when using 'make' command (installing aircrack-ng on Ubuntu 12.04)

Solution 1:

The error says you don't have ssl header files. So just install them.

sudo apt-get install libssl-dev

Solution 2:

Download openssl-1.0.1c.tar.gz and build it twice.

./config  --prefix=/usr/local --openssldir=/usr/local/ssl
make && make install  

./config shared --prefix=/usr/local --openssldir=/usr/local/ssl
make clean
make && make install

In the first time:it will build the *.so lib file.

The second ,it will build the include *.h file.

It's useful.