After installing the lib with:
when compiling with:
gcc test.c -o test -lcspecs
I was having this permissions issue:

The solution was change permissions for cspecs folder and the lib:
sudo chmod o+r,o+x /usr/include/cspecs/
sudo chmod o+r /usr/include/cspecs/cspec.h
sudo chmod o+r,o+x /usr/lib/libcspecs.so

I don't know if it only happened to me or someone else.
After installing the lib with:
when compiling with:
I was having this permissions issue:

The solution was change permissions for
cspecsfolder and the lib:I don't know if it only happened to me or someone else.