[Samba] Fwd: Sol9 make failure of samba 3.2.2 with gcc 3.4.6 -- libtalloc.so.1

Christian McHugh christian.mchugh at nau.edu
Thu Sep 18 17:48:44 GMT 2008

We are compiling samba on solaris 10 (also works on solaris 9) by installing 
the kerberos, openldap, and openldap-devel stuff from blastwave. With that 
done samba can be compiled by pointing to the csw locations:

export CPPFLAGS='-I/opt/csw/include'
export LDFLAGS='-L/opt/csw/lib'
./configure --prefix=/usr/local/samba --with-shared-modules=idmap_ad --with-pam --with-ads --with-krb5=/opt/csw

After the configure finishes you must edit the Makefile to remove entries 
for "-z text" (see bug 5770) and change the /bin/sh entry to /bin/bash (bug 

after that a gmake && gmake install should work

To get samba to function once installed you will also have to edit the library 
path to add the location for the shared samba libraries:
crle -c /var/ld/ld.config -l /lib:/usr/lib:/opt/csw/lib:/usr/local/samba/lib

and that should  do it!

Good luck,
Christian McHugh
Northern Arizona University

More information about the samba mailing list