Building Samba with shared libraries

Stefaan A Eeckels Stefaan.Eeckels at ecc.lu
Sun Aug 17 22:16:20 GMT 1997


Hi List,

I performed some surgery on the Samba Makefile to make it build
with shared libraries on Linux:

-rwxr-x---   1 root     root       176118 Aug 18 00:06 /usr/local/lib/libsmbd.so
-rwxr-x---   1 root     root        23602 Aug 18 00:06 /usr/local/lib/libsmbparm.so
-rwxr-x---   1 root     root       130105 Aug 18 00:06 /usr/local/lib/libsmbutil.so

$ ls -l /usr/local/samba/bin/
total 363
-rwxr-x---   1 root     root         1702 Jul 22 12:20 addtosmbpass
-rwxr-x---   1 root     root        97064 Aug 18 00:07 nmbd
-rwxr-x---   1 root     root        23492 Aug 18 00:07 nmblookup
-rwxr-x---   1 root     root        99372 Aug 18 00:07 smbclient
-rwxr-x---   1 root     root        73464 Aug 18 00:07 smbd
-rwxr-x---   1 root     root        17000 Aug 18 00:07 smbpasswd
-rwxr-x---   1 root     root         3392 Aug 18 00:07 smbrun
-rwxr-x---   1 root     root        18196 Aug 18 00:07 smbstatus
-rwxr-x---   1 root     root         4189 Jul 22 12:20 smbtar
-rwxr-x---   1 root     root        12036 Aug 18 00:07 testparm
-rwxr-x---   1 root     root        10952 Aug 18 00:07 testprns

$ ldd nmbd
        libsmbd.so => /usr/local/lib/libsmbd.so
        libsmbutil.so => /usr/local/lib/libsmbutil.so
        libsmbparm.so => /usr/local/lib/libsmbparm.so
        libc.so.5 => /lib/libc.so.5.4.23

It does little for memory usage, but I think it looks nice ;-)

If anyone's interested, I'll post the diffs (1.9.17a5) to the list.

Alles van die beste,

Stefaan
___________________________________________________________________
Stefaan A Eeckels                         (Stefaan.Eeckels at ecc.lu)
  "The nice thing about standards is that there are so many of
   them to choose from."                 -- Andrew S Tanenbaum
___________________________________________________________________


More information about the samba mailing list