Skip to content

Permission error for using lib at compiling. #38

Description

@metorchio

After installing the lib with:

make
sudo make install

when compiling with:

gcc test.c -o test -lcspecs

I was having this permissions issue:
image

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 

image

I don't know if it only happened to me or someone else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions