Anmar Oueja
2002-Apr-19 11:06 UTC
[Samba] Re: Can't get samba 2.2.3a to compile with ACL support (with logs)
We had the same problem. It seems that the new XFS has moved some functions from the lacl to lattr. Try and replace the lacl with lattr and that shoudl solve the issue hopefully. Thanks and good luck Anmar Lars Weitze wrote:> Hi, > > I've compiled everything: the whole acl package, the attr package the > xfs-progs etc. from the SGI CVS. I've installed all the devel packages. > > But Samba 2.2.3a configure tells me that it can't find ACL support. > > The line in the logs reads: > configure:12853: gcc -o conftest -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lacl -lcups > /usr/lib/libacl.so: undefined reference to `fgetxattr' > /usr/lib/libacl.so: undefined reference to `removexattr' > /usr/lib/libacl.so: undefined reference to `setxattr' > /usr/lib/libacl.so: undefined reference to `fsetxattr' > /usr/lib/libacl.so: undefined reference to `getxattr' > > > Logfile is attached. > > Regards > Lars Weitze-- Anmar Oueja B.A.Sc. Engineering Manager Merlin Technologies Inc. T: (604) 320-7227 F: (604) 320-7277 www.merlinsoftech.com
Nathan Scott
2002-Apr-19 17:06 UTC
[Samba] Re: Can't get samba 2.2.3a to compile with ACL support (with logs)
hello, On Fri, Apr 19, 2002 at 11:04:13AM -0700, Anmar Oueja wrote:> > We had the same problem. It seems that the new XFS has moved some > functions from the lacl to lattr.XFS now uses the ACL userspace code maintained primarily by the good folk at acl.bestbits.at, so XFS has not moved any functions anywhere (the XFS-specific libacl implementation has in fact ceased to exist). These issues we're seeing here are fallout from the switch to the new "official" system call interfaces for extended attributes, and some library reorganisations that happened at that time.> Try and replace the lacl with lattr > and that shoudl solve the issue hopefully.You'll need to use both -lacl and -lattr. cheers. -- Nathan