Aircrack-ng forum
General Category => Newbies => Topic started by: johnyork on May 20, 2014, 01:41:31 pm
-
xxxx@xxxx:~$ cd aircrack-ng-1.2-beta3
xxxx@xxxx:~/aircrack-ng-1.2-beta3$ sudo make
[sudo] password for user:
common.mak:85: *** Cannot find development files for any supported version of libnl. install either libnl1 or libnl3.. Stop.
xxxx@xxxx:~/aircrack-ng-1.2-beta3$
Installing on Ubuntu 14.04 LTS
Read troubleshooting area pertaining to installation and I couldn't find a solution.
-
Hi ohnyork,
[sudo] password for user:
common.mak:85: *** Cannot find development files for any supported version of libnl. install either libnl1 or libnl3. Stop
- The error message is clear: you need to install the development files of libnl: (Ubuntu 14.04 uses libnl3)
sudo apt-get install libnl-3-dev libnl-genl-3-dev
Bye Jano
-
I already installed libnl3 and I confirmed it. However, I am still getting the same message.
xxxx@xxxx:/$ sudo apt-get install libnl-3-dev libnl-genl-3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libnl-3-dev is already the newest version.
libnl-genl-3-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
xxxx@xxxx:/$ cd aircrack-ng-1.2-beta3
xxxx@xxxx:/aircrack-ng-1.2-beta3$ sudo make
common.mak:85: *** Cannot find development files for any supported version of libnl. install either libnl1 or libnl3.. Stop.
xxxx@xxxx:/aircrack-ng-1.2-beta3$
-
could you put here the ouput of
dpkg -l | grep libnl
?
-
xxxx@xxxx:~$ dpkg -l | grep libnl
ii libnl-3-200:i386 3.2.21-1 i386 library for dealing with netlink sockets
ii libnl-3-200-dbg 3.2.21-1 i386 debug symbols for libnl3
ii libnl-3-dev 3.2.21-1 i386 development library and headers for libnl-3
ii libnl-cli-3-200:i386 3.2.21-1 i386 library for dealing with netlink sockets - cli helpers
ii libnl-cli-3-dev 3.2.21-1 i386 development library and headers for libnl-cli-3
ii libnl-doc 1.1-8ubuntu1 all API documentation for libnl
ii libnl-genl-3-200:i386 3.2.21-1 i386 library for dealing with netlink sockets - generic netlink
ii libnl-genl-3-dev 3.2.21-1 i386 development library and headers for libnl-genl-3
ii libnl-nf-3-200:i386 3.2.21-1 i386 library for dealing with netlink sockets - netfilter interface
ii libnl-nf-3-dev 3.2.21-1 i386 development library and headers for libnl-nf-3
ii libnl-route-3-200:i386 3.2.21-1 i386 library for dealing with netlink sockets - route interface
ii libnl-route-3-dev 3.2.21-1 i386 development library and headers for libnl-route-3
ii libnl-utils 3.2.21-1 i386 Utilities for dealing with netlink sockets
ii libnl1:i386 1.1-8ubuntu1 i386 library for dealing with netlink sockets
xxxx@xxxx:~$
-
Hi johnyork,
- Try to install all recommended:
sudo apt-get install linux-headers-$(uname -r) build-essential make patch subversion openssl libssl-dev zlib1g zlib1g-dev libssh2-1-dev libnl-3-dev libnl-genl-3-dev gettext autoconf sqlite3 libsqlite3-dev tcl8.5 libpcap0.8 libpcap0.8-dev python-scapy python-dev cracklib-runtime
- And then use not in root user:
make sqlite=true unstable=true libnl=true && sudo make sqlite=true unstable=true libnl=true install
Bye Jano
-
Okay Jano, I ran
sudo apt-get install linux-headers-$(uname -r) build-essential make patch subversion openssl libssl-dev zlib1g zlib1g-dev libssh2-1-dev libnl-3-dev libnl-genl-3-dev gettext autoconf sqlite3 libsqlite3-dev tcl8.5 libpcap0.8 libpcap0.8-dev python-scapy python-dev cracklib-runtime
and still got the message
common.mak:85: *** Cannot find development files for any supported version of libnl. install either libnl1 or libnl3.. Stop.
Also, could you give me more info about running
make sqlite=true unstable=true libnl=true && sudo make sqlite=true unstable=true libnl=true install
Do I need to be in a specific directory or do I need to specify a target?
-
@johnyork,
- I think you're doing something wrong because in one of my machines I have Ubuntu 14.04 64bit and I don't have this problem.
- Try to uninstall your version of Aircrack-ng and then check the SVN version:
(use your account and not the root user)
cd ~/;svn co -r 2390 http://svn.aircrack-ng.org/trunk/ aircrack-ng;cd aircrack-ng;make check && sudo make uninstall && sudo make clean
- If all the tests are positive then continue the installation:
cd ~/aircrack-ng;make sqlite=true unstable=true libnl=true && sudo make sqlite=true unstable=true libnl=true install && sudo airodump-ng-oui-update
Bye Jano
-
Formatted the partition, re-installed Linux, added required packs, installed aircrack-ng-1.2-beta3 with no problem.
-
try "apt-get install libnl-dev"
-
I ran into the same problem using 14.10 and "apt-get install libnl-dev" did resolve the issue thanks