I got the below error while trying to configure Keealived with Net-SNMP on Ubuntu box. Shows an error: libnl-3 is installed but not libnl-gen-3


Keealived requires libnl-3 and libnl-genl-3-dev and shows information to be installed package name.

configure: error: libnl-3 is installed but not libnl-gen-3. Please, install libnl-gen-3/libnl-genl-3.

Use the below,

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


or

Install the packages in user,
$ sudo apt-get install libnl-genl-3-dev