net-wireless/iw-3.1 fails to compile. Diagnostic is '/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnl-genl' Both libnl-1.1-r2 and libnl-3.2.2 are installed. # ls /usr/lib/libnl-genl* lrwxrwxrwx 1 root root 23 Oct 31 09:24 /usr/lib/libnl-genl-3.so -> libnl-genl-3.so.200.2.0 lrwxrwxrwx 1 root root 23 Oct 31 09:24 /usr/lib/libnl-genl-3.so.200 -> libnl-genl-3.so.200.2.0 -rwxr-xr-x 1 root root 19392 Oct 31 09:24 /usr/lib/libnl-genl-3.so.200.2.0 Reproducible: Always
Created attachment 291423 [details] emerge log for iw-3.1 against libnl-3.2.2
That's odd. I already downgraded its dep to dev-libs/libnl:1.1 for another bug report, so that dependency should probably be fixed as well (and just let upstream handle libnl:3 support).
Not applying the patch (and thusly expecting no specific version like 1 or 2 or 3) has it compiling nicely against 1.1...
Fixed, please allow the mirrors to catch up before you emerge --sync and test.
(In reply to comment #4) > Fixed, please allow the mirrors to catch up before you emerge --sync and test. Thanks - iw-3.1 now recompiles OK without the need for changes to libnl and links against v1 of libnl. # ldd /usr/sbin/iw linux-vdso.so.1 => (0x00007fff737ff000) libnl.so.1 => /usr/lib64/libnl.so.1 (0x00007f1c51cc4000) libc.so.6 => /lib64/libc.so.6 (0x00007f1c5191e000) libm.so.6 => /lib64/libm.so.6 (0x00007f1c5169a000) /lib64/ld-linux-x86-64.so.2 (0x00007f1c51f16000)
(In reply to comment #5) > (In reply to comment #4) > > Fixed, please allow the mirrors to catch up before you emerge --sync and test. > > Thanks - iw-3.1 now recompiles OK without the need for changes to libnl and > links against v1 of libnl. > > # ldd /usr/sbin/iw > linux-vdso.so.1 => (0x00007fff737ff000) > libnl.so.1 => /usr/lib64/libnl.so.1 (0x00007f1c51cc4000) > libc.so.6 => /lib64/libc.so.6 (0x00007f1c5191e000) > libm.so.6 => /lib64/libm.so.6 (0x00007f1c5169a000) > /lib64/ld-linux-x86-64.so.2 (0x00007f1c51f16000) A patch has been applied to the Makefile in the master branch of the iw git repository (15bc193a926ec67e25de175f7dfe45df8cbd3e9a) such that iw now compiles against libnl-3.2.2, # ldd /usr/local/sbin/iw linux-vdso.so.1 => (0x00007fff89dff000) libnl-genl-3.so.200 => /usr/lib64/libnl-genl-3.so.200 (0x00007fcc9c748000) libnl-3.so.200 => /usr/lib64/libnl-3.so.200 (0x00007fcc9c52e000) libc.so.6 => /lib64/libc.so.6 (0x00007fcc9c188000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fcc9bf6a000) libm.so.6 => /lib64/libm.so.6 (0x00007fcc9bce6000) /lib64/ld-linux-x86-64.so.2 (0x00007fcc9c94d000)
I have bumped iw to 3.2, and added the patch 9c1d758129e02af5623b4faa52342b8bae3f5fd9 from the upstream git, including a little change I made to it, to make it work.
net-wireless/iw-3.2 still has RDEPEND="dev-libs/libnl:1.1".
Fixed, now it only depends on dev-libs/libnl