Regarding samba image and shared libraries size

Stefan Metzmacher metze at
Tue Apr 11 19:47:16 UTC 2017

Hi Jawath,

I'm not sure we can shrink the overall size, but we can shrink the
number of shared libraries.

See look for "nonshared-configure" in;a=blob;f=script/
The important one is --nonshared-binary=smbtorture,smbd/smbd

"none-configure" may also have useful options, e.g.
which avoids as much modules as possible.

--without-ad-dc may also reduce the size.

Maybe something of this helps a bit...


Am 11.04.2017 um 17:59 schrieb Jawath Muckdhar via samba-technical:
> Hi Team,
> I have compiled samba-4.5.5 for MIPS architecture.
> It's compiled successfully.
> But the only problem is, 'smbd' depends on lot of libraries(93 shared
> libraries).
> The total size of the shared libraries is huge. Because of this, the total
> size of the image got increased.
> Is there a way to reduce the shared libraries size and smbd image size.
> Any help is appreciated.
> Thanks & Regards,
> Jawath Muckdhar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the samba-technical mailing list