hex_encode_talloc() in libwbclient

Andrew Bartlett abartlet at samba.org
Sun Mar 27 23:52:38 UTC 2022


On Sat, 2022-03-26 at 20:12 +0300, Michael Tokarev via samba wrote:
> Right now, I'm trying to deal with one missing symbol when
> dynamically
> 
> linking libwbclient.so: it misses hex_encode_talloc symbol since
> obviously
> 
> lib/util/util.o file is not included into the wbclient library link
> line.
> 
> Is libwbclient.so supposed to be buildable as shared library?

libwbclient as an LGPL shared lib must not depend on lib/util/util.o

We need to work out why we have code that gets brought in to
libwbclient.so that needs this symbol.

This might be related to the work we have done at 
https://bugzilla.samba.org/show_bug.cgi?id=14780 to ensure that we
don't include private libraries in libraries like this.

We also need to work out why this isn't seen in upstream Samba default
builds.

Did you work this out any further?  Can you get us a minimal command
otherwise to reproduce?

Thanks!

Andrew Bartlett

-- 
Andrew Bartlett (he/him)       https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT   https://catalyst.net.nz/services/samba

Samba Development and Support, Catalyst IT - Expert Open Source
Solutions




More information about the samba-technical mailing list