Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490584 - dev-libs/libnl-3.2.23 USE=python - netlink/genl/capi_wrap.c: ld: cannot find -lnl-3
Summary: dev-libs/libnl-3.2.23 USE=python - netlink/genl/capi_wrap.c: ld: cannot find ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-06 18:34 UTC by Philipp
Modified: 2013-12-20 15:05 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Log of failed build (1383749385-install-dev-libs_libnl-3.2.23:3::gentoo.out,79.94 KB, text/plain)
2013-11-06 18:34 UTC, Philipp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp 2013-11-06 18:34:02 UTC
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.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-08 15:52:18 UTC
I don't see why library_dirs is not included. Maybe the patch from bug #477110 is wrong?
Comment 2 thanasis 2013-11-08 20:26:47 UTC
Workaround worked for me too. Thanks :)
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-20 15:05:27 UTC
Fixed in 3.2.23, 3.2.24_rc1 and 3.2.9999.