[Samba] compile on solaris 64bit, static winbind

Eric Boehm boehm at nortel.com
Wed Oct 7 11:54:20 MDT 2009


On Wed, Oct 07, 2009 at 03:10:16PM +0200, Dirk Jakobsmeier wrote:
>>>>> "Dirk" == Dirk Jakobsmeier <dirk.jakobsmeier at wige.com> writes:

    Dirk> Hello, i got many problems in compiling a working samba to
    Dirk> use in our environment.

    Dirk> - solaris 10 on amd64 sun hardware
    Dirk> - version above 3.3.0 because of one of our applications
    Dirk> - samba as memeber server in active directory because of
    Dirk>   usermanagement on
    Dirk> windows 2003
    Dirk> - 64-bit samba because of many many open files
    Dirk> - static libraries because of relocation error: R_AMD64_PC32
    Dirk>   with shared ones
    Dirk> (espacially libwbinfo.so)
    Dirk> - non compiling static libwbclient because of
    Dirk>   shared-libraries-disabled not
    Dirk> found (SHLD=shared-libraries-disabled in Makefile)
    Dirk> - found comment about different handling on libwbclient
    Dirk>   (samba distribution)
    Dirk> and libtalloc (system os)

    Dirk> result is a nearly perfect working environment (even net
    Dirk> join ads -w DOMAIN -U Administrator) but non working
    Dirk> winbindd so no passwords from AD

    Dirk> Could anyone give us a hint to make this working, because
    Dirk> after some weeks of testing and searching via internet my
    Dirk> brain got absolutely blank.

I haven't had any problem building Samba 64-bit for Solaris Sparc. It
might be helpful to see the output from make or from running the
binary to see what is going wrong. 

It's often the case that you need to sed LD_LIBRARY_PATH or
LD_RUN_PATH or otherwise specify where executables can find the shared
libraries.

-- 
Eric M. Boehm                  /"\  ASCII Ribbon Campaign
boehm at nortel.com               \ /  No HTML or RTF in mail
                                X   No proprietary word-processing
Respect Open Standards         / \  files in mail


More information about the samba mailing list