William Harrington wrote:
Hello,
libcap will want to link with libattr but it will use sys/xattr.h.
sed -i 's/-lattr//' libcap/Makefile
nm libcap.so.2.24 | grep xattr
U fgetxattr@@GLIBC_2.3
U fremovexattr@@GLIBC_2.3
U fsetxattr@@GLIBC_2.3
U getxattr@@GLIBC_2.3
U removexattr@@GLIBC_2.3
U setxattr@@GLIBC_2.3
It's too late to get this in LFS-7.8, but let me see if I can summarize:
libcap: sed -i 's/-lattr//' libcap/Makefile
attr: patch
acl: patch
However, it is not clear what the patches do. I think you are saying
that the acl patch removes the dependency of attr from acl. The attr
patch removes an unneeded library. Is that right?
The upstream patch is dated May 2104. It doesn't appear that upstream
considers the patch particularly important. The last updates for both
attr and acl were May 2013. libcap was Jan 2014.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page