[Samba] Join as DC requires libacl, not avail on Solaris

Andrew Bartlett abartlet at samba.org
Thu Mar 6 21:06:30 MST 2014


On Fri, 2014-03-07 at 16:56 +1300, Andrew Bartlett wrote:
> On Thu, 2014-03-06 at 21:11 -0500, Thomas Schulz wrote:
> > > On Wed, 2014-03-05 at 16:29 -0500, Thomas Schulz wrote:
> > > 
> > > > With the patch configure ends with:
> > > > building on sunos5
> > > > Checking for library acl                           : not found 
> > > > Checking for acl_get_file                          : not found 
> > > > Checking for POSIX ACL support                     : not found 
> > > > Checking for library facl                          : not found 
> > > > Checking for sec                                   : not found 
> > > > Checking for library acl_get_fd                    : not found 
> > > > Checking for pacl                                  : not found 
> > > > /home/projects/tools/samba/testmaster/source3/wscript:470: error:
> > > > ACL support not found. Try installing libacl1-dev or libacl-devel.
> > > > Otherwise, use --without-acl-support to build without ACL support.
> > > > ACL support is required to change permissions from Windows clients.
> > > 
> > > Thanks!  We are almost there!
> > > 
> > > See attached, we got the order of arguments wrong, notice how it is
> > > looking for library facl and function 'sec'?  The library is 'sec' :-)
> > > 
> > > Andrew Bartlett
> > 
> > Good news and bad news. Both git master and 4.1.5 configure say
> > Using solaris ACLs, but both builds fail. The git master fails with:
> > 
> > [3341/3836] Linking default/source4/nbt_server/libldb-wins-ldb.so
> > [3342/3836] Linking default/source4/heimdal_build/samba4kgetcred
> > Undefined			first referenced
> >  symbol  			in file
> > libintl_gettext               default/source4/heimdal/kuser/kgetcred_140.o
> > libintl_bindtextdomain        default/source4/heimdal_build/libkrb5-samba4.so
> > libintl_dgettext              default/source4/heimdal_build/libkrb5-samba4.so
> > ld: fatal: Symbol referencing errors. No output written to
> > /home/projects/tools/samba/testmaster/bin/default/source4
> > /heimdal_build/samba4kgetcred
> > 
> > And 4.1.5 fails with:
> > 
> > [3290/3813] Linking default/source4/heimdal_build/libheimntlm-samba4.so
> > [3291/3813] Linking default/source4/heimdal_build/samba4kinit
> > Undefined			first referenced
> >  symbol  			in file
> > libintl_gettext               default/source4/heimdal/kuser/kinit_138.o
> > libintl_textdomain            default/source4/heimdal/kuser/kinit_138.o
> > libintl_bindtextdomain        default/source4/heimdal/kuser/kinit_138.o
> > libintl_dgettext              default/source4/heimdal_build/libkrb5-samba4.so
> > ld: fatal: Symbol referencing errors. No output written to
> > /home/projects/tools/samba/samba-4.1.5.i386gcc.2pt/bin/default/source4
> > /heimdal_build/samba4kinit
> 
> Thanks.  We just need a dependency on 'intl' in a few more spots, and
> then we will be done!  In the meantime, try --without-gettext.

Please try the attached patch, which should fix it properly by linking
intl into these binaries. 

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-Add-samba_intl-as-a-dep-for-samba4kinit-samba4.patch
Type: text/x-patch
Size: 1259 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba/attachments/20140307/77b3c2d4/attachment.bin>


More information about the samba mailing list