Regarding samba image and shared libraries size

Stefan Metzmacher metze at samba.org
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
https://git.samba.org/?p=samba.git;a=blob;f=script/autobuild.py
The important one is --nonshared-binary=smbtorture,smbd/smbd

"none-configure" may also have useful options, e.g.
--with-static-modules=!FORCED,!DEFAULT
--with-shared-modules=!FORCED,!DEFAULT
which avoids as much modules as possible.

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

Maybe something of this helps a bit...

metze

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: <http://lists.samba.org/pipermail/samba-technical/attachments/20170411/66783516/signature.sig>


More information about the samba-technical mailing list