[Samba] reduce the size of samba 3.0 binary

Andrew Bartlett abartlet at samba.org
Sat Feb 21 00:56:08 GMT 2004


On Sat, 2004-02-21 at 11:51, Jeffrey Liu wrote:
> I installed samba 3.0.  It works.
> But the only problem is that the whole binary package is > 800MB (Solaris 2.8)
> It's a big package to fit in a 2g of / partition.
> Is there way we can reduce the size of the binary by select function/local/etc?
> I don't need all the funcations it supports.  
> Only support UNIX nfs data to PC.

Just strip it.

For some reason (one of which is a bug in the 3.0.0 release) you have
compiled with -g, which, depending on the compiler, can do this :-)

You should upgrade to 3.0.2a anyway.

Andrew Barltett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040221/19c045e8/attachment.bin


More information about the samba mailing list