Aircrack-ng forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Aircrack-ng 1.7 release

Sorry Guest, you are banned from posting and sending personal messages on this forum.
This ban is not set to expire.
Pages: [1]   Go Down

Author Topic: installation error when installing  (Read 50483 times)

johnyork

  • Newbie
  • *
  • Offline Offline
  • Posts: 10
installation error when installing
« 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.
Logged

Jano

  • Experienced
  • Jr. Member
  • ********
  • Offline Offline
  • Posts: 51
  • Ubuntu 12.04 - User # 19647
    • Jano Web
Re: installation error when installing
« Reply #1 on: May 20, 2014, 05:19:39 pm »

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)
Code: [Select]
sudo apt-get install libnl-3-dev libnl-genl-3-dev
Bye Jano
« Last Edit: May 20, 2014, 06:53:04 pm by Jano »
Logged
Web: http://www.janoweb.net
Wireless: ALFA-AWUS036H, AWUS050NH, D-Link DWL-G650, D-Link DWL-G122, ZyXel G220, Linksys WUB54GR, Intel PRO/Wireless 3945ABG

johnyork

  • Newbie
  • *
  • Offline Offline
  • Posts: 10
Re: installation error when installing
« Reply #2 on: May 20, 2014, 07:56:39 pm »

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$
Logged

kcdtv

  • Experienced
  • Full Member
  • ********
  • Offline Offline
  • Posts: 212
Re: installation error when installing
« Reply #3 on: May 20, 2014, 08:13:58 pm »

could you put here the ouput of
Code: [Select]
dpkg -l | grep libnl?
Logged

johnyork

  • Newbie
  • *
  • Offline Offline
  • Posts: 10
Re: installation error when installing
« Reply #4 on: May 21, 2014, 06:01:26 am »

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:~$
Logged

Jano

  • Experienced
  • Jr. Member
  • ********
  • Offline Offline
  • Posts: 51
  • Ubuntu 12.04 - User # 19647
    • Jano Web
Re: installation error when installing
« Reply #5 on: May 21, 2014, 07:50:04 am »

Hi johnyork,
- Try to install all recommended:
Code: [Select]
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:
Code: [Select]
make sqlite=true unstable=true libnl=true && sudo make sqlite=true unstable=true libnl=true install
Bye Jano
« Last Edit: May 21, 2014, 07:55:33 am by Jano »
Logged
Web: http://www.janoweb.net
Wireless: ALFA-AWUS036H, AWUS050NH, D-Link DWL-G650, D-Link DWL-G122, ZyXel G220, Linksys WUB54GR, Intel PRO/Wireless 3945ABG

johnyork

  • Newbie
  • *
  • Offline Offline
  • Posts: 10
Re: installation error when installing
« Reply #6 on: May 21, 2014, 01:24:06 pm »

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?
Logged

Jano

  • Experienced
  • Jr. Member
  • ********
  • Offline Offline
  • Posts: 51
  • Ubuntu 12.04 - User # 19647
    • Jano Web
Re: installation error when installing
« Reply #7 on: May 21, 2014, 09:32:38 pm »

@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)
Code: [Select]
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:
Code: [Select]
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
« Last Edit: May 21, 2014, 09:47:53 pm by Jano »
Logged
Web: http://www.janoweb.net
Wireless: ALFA-AWUS036H, AWUS050NH, D-Link DWL-G650, D-Link DWL-G122, ZyXel G220, Linksys WUB54GR, Intel PRO/Wireless 3945ABG

johnyork

  • Newbie
  • *
  • Offline Offline
  • Posts: 10
Re: installation error when installing
« Reply #8 on: May 24, 2014, 02:00:10 pm »

Formatted the partition, re-installed Linux, added required packs, installed aircrack-ng-1.2-beta3 with no problem.
« Last Edit: May 24, 2014, 02:02:30 pm by johnyork »
Logged

ehsan

  • Guest
Re: installation error when installing
« Reply #9 on: August 08, 2014, 07:38:18 am »

try "apt-get install libnl-dev"
Logged

Cerrin

  • Guest
Re: installation error when installing
« Reply #10 on: December 24, 2014, 12:59:56 pm »

I ran into the same problem using 14.10 and "apt-get install libnl-dev" did resolve the issue thanks
Logged
Pages: [1]   Go Up