View Issue Details

IDProjectCategoryView StatusLast Update
0003920Kali LinuxKali Package Bugpublic2017-03-13 09:39
Reportersinge Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version2016.2 
Summary0003920: libnl-genl-3-200 does not create the libnl-genl-3.so symlink
Description

The libnl-genl-3-200 package does not create the /lib/x86_64-linux-gnu/libnl-genl-3.so symlink (linked to /lib/x86_64-linux-gnu/libnl-genl-3.so.200.22.0) at the time of writing.

This causes any linking to the libnl-genl-3 library to fail (for example hostepd v2.6).

This is simply fixed by creating the symlink:
ln -s /lib/x86_64-linux-gnu/libnl-genl-3.so.200.22.0 /lib/x86_64-linux-gnu/libnl-genl-3.so

Steps To Reproduce

ls /lib/x86_64-linux-gnu/libnl-genl-3.so produces "No such file or directory"

Or if you'd like an example application that fails to compile with it:
git clone -b hostapd-2.6 https://github.com/sensepost/hostapd-mana
cd hostapd-mana/hostapd
make

Will produce:
/usr/bin/ld: cannot find -lnl-genl-3
collect2: error: ld returned 1 exit status
Makefile:1063: recipe for target 'hostapd' failed
make: *** [hostapd] Error 1

Additional Information

This was a fresh deploy of a Kali 2016.2 VM (downloaded 12 March 2017) after all packages updated.

Activities

rhertzog

rhertzog

2017-03-13 09:39

administrator   ~0006492

There's no bug here, /lib/x86_64-linux-gnu/libnl-genl-3.so is part of libnl-genl-3-dev, you always need the corresponding -dev package when you want to link against a library.

Issue History

Date Modified Username Field Change
2017-03-12 18:13 singe New Issue
2017-03-13 09:39 rhertzog Assigned To => rhertzog
2017-03-13 09:39 rhertzog Status new => closed
2017-03-13 09:39 rhertzog Resolution open => no change required
2017-03-13 09:39 rhertzog Note Added: 0006492