[Samba] libgenrand and Samba 4.12

Andrew Bartlett abartlet at samba.org
Fri Mar 20 09:13:32 UTC 2020

On Fri, 2020-03-20 at 09:36 +0100, L.P.H. van Belle via samba wrote:
> (it involves these 3 lines of lintian output)  the middle one is the one that needs to be fixed. 
> E: libwbclient0: library-not-linked-against-libc usr/lib/x86_64-linux-gnu/samba/libgenrand.so.0

This is a false positive.  I've checked the library, it perhaps
shouldn't be a library any more, but it really doesn't need libc, it
only links to gnutls.  See lib/util/genrand.c.

There is probably a linker rule being used to tell Samba not to link
against libraries unless really needed.

Try changing it from SAMBA_LIBRARY to SAMBA_SUBSYSTEM if you like, that
will cause it to be brought into something larger that will need libc.

Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba mailing list