Summary: | dev-libs/libnl-3.2.23 USE=python - netlink/genl/capi_wrap.c: ld: cannot find -lnl-3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Philipp <philipp> |
Component: | [OLD] Library | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | python, Sander.Sweers, staff, thanasis, xmw |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=477110 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Log of failed build |
I don't see why library_dirs is not included. Maybe the patch from bug #477110 is wrong? Workaround worked for me too. Thanks :) Fixed in 3.2.23, 3.2.24_rc1 and 3.2.9999. |
Created attachment 362698 [details] Log of failed build When building dev-libs/libnl-3.2.23 with no version of libnl installed it fails with: building 'netlink/genl/_capi' extension [...] x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. -Wl,-O1 -Wl,--as-needed -march=core-avx-i -O2 -pipe /var/tmp/paludis/dev-libs-libnl-3.2.23/work/libnl-3.2.23-python2_7/temp.linux-x86_64-2.7/netlink/genl/capi_wrap.o -L/usr/lib64 -lnl-3 -lnl-genl-3 -lpython2.7 -o /var/tmp/paludis/dev-libs-libnl-3.2.23/work/libnl-3.2.23-python2_7/lib/netlink/genl/_capi.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnl-3 /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnl-genl-3 Workaround: Install dev-libs/libnl-3.2.22 first and then update to 3.2.23.