Nathan Scott
2002-Apr-18 16:41 UTC
[Samba] Re: Can't get samba 2.2.3a to compile with ACL support (with logs)
Hello, On Thu, Apr 18, 2002 at 07:06:27PM +0200, Lars Weitze wrote:> 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' >The fix is to add "-lattr" to that link line above... this should be added into Samba's configure checks somewhere I guess (libacl.so now makes use of the syscalls defined in libattr.so). cheers. -- Nathan