Fwd: Re: Can't get samba 2.2.3a to compile with ACL support (with logs)

Vance Lankhaar vance at pcsscreston.ca
Fri Apr 19 17:36:01 GMT 2002


Somehow, I think this is a message that should make its way to 
samba-technical.

Vance

----------  Forwarded Message  ----------

Subject: Re: Can't get samba 2.2.3a to compile with ACL support (with logs)
Date: Fri, 19 Apr 2002 09:37:57 +1000
From: Nathan Scott <nathans at sgi.com>
To: Lars Weitze <cd at kalkatraz.de>
Cc: samba at lists.samba.org, linux-xfs at oss.sgi.com

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

-------------------------------------------------------

-- 

------------------------------------------------------------
 Vance Lankhaar                        vance at pcsscreston.ca
 PCSS Yearbook                      yearbook at pcsscreston.ca
 PCSS Computers                    sysadmins at pcsscreston.ca
 http://www.crestonbc.com/pcss/   http://www.pcsscreston.ca
------------------------------------------------------------




More information about the samba-technical mailing list