[Samba] RE: Why are the binaries so huge?

Tom Dickson tdickson at inostor.com
Thu Aug 28 17:55:01 GMT 2003


Did they get compiled statically?

on Linux a

ldd `which smbd`

will tell you what external libs it needs; if there are none, then you've
got samba with all libraries compiled it.

Hope this helps,

-Tom


================

Hi list

I just compiled 3.0rc1 on Solaris 9 (UltraSparc IIe) with gcc 3.3. Seems
to work fine but I am surprised by the enormous size of the binaries:

(ub-blade1):/usr/local/samba/sbin # ll
total 232272
-rwxr-xr-x    1 root     other    44719632 Aug 28 15:07 nmbd
-rwxr-xr-x    1 root     other    89726544 Aug 28 15:07 smbd
-rwxr-xr-x    1 root     other    44807356 Aug 28 15:07 swat
-rwxr-xr-x    1 root     other    58420628 Aug 28 15:08 winbindd


In comparison 3.0b1 on Debian Woody (3.0) from packages:

ub-edv05:~# ll /usr/sbin/smbd /usr/sbin/nmbd /usr/sbin/winbindd
-rwxr-xr-x    1 root     root       690636 Jul  8 00:37 /usr/sbin/nmbd
-rwxr-xr-x    1 root     root      2141228 Jul  8 00:37 /usr/sbin/smbd
-rwxr-xr-x    1 root     root      1241420 Jul  8 00:37 /usr/sbin/winbindd

2.2.8a on Solaris 9 (UltraSparc IIe), self compiled with gcc 3.2:

(ub-files):/usr/local/samba/bin # ll
total 14141
-rwxr-xr-x    1 root     other      798684 Apr 15 11:37 nmbd
-rwxr-xr-x    1 root     other     1931248 Apr 15 11:37 smbd
-rwxr-xr-x    1 root     other     1216364 Apr 15 11:37 winbindd


Can anybody shed some light?

Cheers
Paul
--
Mit freundlichen Gruessen

Paul Coray
Administrator Server und Netzwerk

Oeffentliche Bibliothek der Universitaet Basel
EDV-Abteilung
Schoenbeinstrasse 18-20
CH-4056 Basel

Tel: +41 61 267 05 13
Fax: +41 61 267 31 03

mailto:paul.coray at unibas.ch
http://www.ub.unibas.ch




More information about the samba mailing list