[Samba] Building smbclient 4.3.3 as one executable without shared libraries

Stefan Metzmacher metze at samba.org
Thu Mar 17 12:52:28 UTC 2016

Hi Michael,

> When we build smbclient 4.3.3 we now have 76 shared libraries to deliver with the smbclient binary.
> Is there any way to specify it statically linking the libraries so we only have to deliver an executable ?
> With 3.6.5 and 4.0.7, we only had 3 libraries, which was more more

We have a --nonshared-binary= option for configure.
Which at least works in 4.4 for --nonshared-binary=smbtorture,smbd/smbd

You may want to try --nonshared-binary=client/smbclient


More information about the samba mailing list