linuxdebian

"configure: error: libnl and libnl-genl are required but were not found"


I'm trying to configure powertop-2.5 but when I run ./configure I get a "configure: error: libnl and libnl-genl are required but were not found" error

I've run

sudo apt-get install libtool autoconf libnl-dev ncurses-dev pciutils-dev build-essential -y

as was recommended by these guys but I get the same error.

I ran

sudo apt-get install libnl-genl-3-dev

Which replaced the previous libnl file but I still get the config error.

According to this, powertop has (or had) problems with detecting libnl but I can't figure out how to fix it.

I'm currently running Linux username 3.2.0-4-686-pae #1 SMP Debian 3.2.51-1 i686 GNU/Linux


Solution

  • I "solved" my problem by installing powertop-2.0 instead.