[sclug] Staticly link smbclient

Dickon Hood sclug at splurge.fluff.org
Wed May 7 08:10:59 UTC 2008

On Wed, May 07, 2008 at 00:23:12 +0200, pieter claassen wrote:
: 0.24/source/bin$ file smbclient
: smbclient: ELF 32-bit LSB shared object, Intel 80386, version 1  
: (SYSV), for GNU/Linux 2.4.1, not stripped

: h:~/dev/samba-3.0.24/source/bin$ ldd smbclient
:         linux-gate.so.1 =>  (0xffffe000)
:         libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7ec4000)
:         libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2  
: (0xb7eb1000)
:         libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7e9a000)
:         libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7e9600

If you manage to locate a system without all of these libraries -- libc,
linux-gate, and libdl are somewhat fundamental to the operation, libcrypt
handles password hashing, libresolv does DNS, and libnsl does
miscellaneous networking stuff -- I'll be very surprised.

There's nothing on that list that I'd not expect to find on every Linux
system out there, including embedded ones.  I think you're just making
work for yourself that you don't need to.

Dickon Hood

Due to digital rights management, my .sig is temporarily unavailable.
Normal service will be resumed as soon as possible.  We apologise for the
inconvenience in the meantime.

No virus was found in this outgoing message as I didn't bother looking.

More information about the Sclug mailing list