libsmbclient compliation, minimum dependency.

umar raja audacious80 at hotmail.com
Mon Sep 4 08:45:06 GMT 2006


Hi,

I am using libsmbclient.so only, the version is
libsmbclient-devel-3.0.21b-1.1.3. I took the libsmbclient library from suse
actually. On running the ldd command i find out that its dependent on

1. Kerberos 5
2. OpenSSL
3. LDAP.

Now i want to know that are these three libs required for libsmbclient. If
not,  how can i remove the dependency of libsmbclient on these 3 libraries
and any other library, which is not required.

I have already download the latest samba code.
Can you give me the exact steps please to compile without the mentioned
libraries and any other. I want minimum dependency. Actually i am using
libsmbclient in a live-cd of mine.

Here are the dependencies
        $ldd libsmbclient.so.0

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        linux-gate.so.1 =>  (0xffffe000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x401c3000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x401f6000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40209000)
        libdl.so.2 => /lib/libdl.so.2 (0x4021f000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x40223000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x4023a000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x402a7000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x402cb000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x402ce000)
        libldap-2.2.so.7 => /usr/lib/libldap-2.2.so.7 (0x402d1000)
        liblber-2.2.so.7 => /usr/lib/liblber-2.2.so.7 (0x402ff000)
        libc.so.6 => /lib/tls/libc.so.6 (0x4030b000)
        /lib/ld-linux.so.2 (0x80000000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x4042b000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40441000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40471000)
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Peace,
UI.




More information about the samba-technical mailing list