Installation of Wpasupplicant failed on ubuntu 16.04 server, problems with libnl-3-dev
<p>I am trying to install the latest Wpa_Supplicant on Ubuntu 16.04 server from the official website. According to <a href="http://deployingradius.com/scripts/eapol_test/" rel="nofollow">http://deployingradius.com/scripts/eapol_test/</a> I uncommented <code>CONFIG_EAPOL_TEST=yes</code> and run <code>make eapol_test</code> but I get failed:</p>

<pre><code>/usr/bin/ld: cannot find -lnl
collect2: error: ld returned 1 exit status
Makefile:1613: recipe for target 'eapol_test' failed
make: *** [eapol_test] Error 1
</code></pre>

<p>However, when I did the same but using Ubuntu 14.04 server, everything is ok!</p>

<p>I realized that the package <code>libnl-dev</code>resolves the problem of  <code>**/usr/bin/ld: cannot find -lnl**</code> for ubuntu14.04. However, the Ubuntu 16.04 does not have <code>libnl-dev</code> in his repository, instead of It has <code>libnl-3-dev</code>, but <code>wpa_supplicant</code> failed when I run <code>make eapol_test</code>.</p>

<p>Could anyone help me install wpa_supplicant on ubuntu 16.04 plz?, I am trying run everything on ubuntu 16.04 and not on ubuntu 14.04.</p>

<p>Thank you in advance,
Javier</p>