4

I was trying to share my laptop's internet over wireless to use as wi-fi in my android phone. After googling for some time I am now stuck here:

http://linuxwireless.org/en/users/Documentation/hostapd

the instruction says: "you need to install/update libnl-1.0pre8 (or later)" for a certain error I am getting. But I am unable to do so. I downloaded the package all right, but executing the makefile of that package is giving me errors. Is there another way to install/update this application? Please help.

stranger_anon
  • 387
  • 4
  • 7
  • 20

1 Answers1

6

Install libnl-dev using the following command:

sudo apt-get install libnl-dev

or

sudo apt-get install libnl-3-dev
green
  • 14,240
  • 8
  • 41
  • 64
  • Thanks. That worked!!! 1 more thing though. If I ever wanted to install/update any library, is there any way to know which package it is contained in? This one for example, I didn't find it anywhere on googling. Can't I search apt-get repository or something? – stranger_anon Apr 05 '13 at 14:53
  • Yes, you can. The command is `apt-cache search `. However, it would result in a lot of packages. In this case, you can try `apt-cache search libnl`. – green Apr 05 '13 at 15:12