Closed onlyjob closed 8 years ago
not sure how does that work in debian. But generally, libteam needs features which were added to libnl3.
OK, thanks for confirming. Perhaps on that instance no such features were used so linker gave a warning about "useless dependency"... Let's close this.
It works the same way on every Linux system: if libteam uses symbols from libnl-3 then libteam itself must be linked with libnl3.
Relying on the dynamic linker to find the symbols because the main binary is linked with libnl-3 works most of the time, but is broken.
FYI, the canonical reference about writing shared libraries is http://people.redhat.com/drepper/dsohowto.pdf .
It seems that
team.h
andteamdctl.h
use no headers fromlibnl-3-dev
so it might be thatRequires: libnl-3.0
inlibteam.pc
is unnecessary. See more in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780855#10