Xattrs are not supported

Karen Tsirunyan picture Karen Tsirunyan · Jun 26, 2012 · Viewed 10.5k times · Source

I am trying to perform a little testing of XATTRs. I recompiled my kernel with ALL the XATTRs enabled.

Now, when I include the header of xattrs :

#include <attr/xattr.h>

I receive an error no such file or directory. I am using UBUNTU 11.10 64 bit system, and I cannot understand why XATTRs are not supported ?

Answer

user149341 picture user149341 · Jun 26, 2012

Adding support in the kernel doesn't make the header files magically appear on their own! Install libattr1-dev.