Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission error for using lib at compiling. #38

Open
metorchio opened this issue Apr 14, 2023 · 0 comments
Open

Permission error for using lib at compiling. #38

metorchio opened this issue Apr 14, 2023 · 0 comments

Comments

@metorchio
Copy link

metorchio commented Apr 14, 2023

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.

@metorchio metorchio changed the title Permisson error for using lib. Permission error for using lib. Apr 14, 2023
@metorchio metorchio changed the title Permission error for using lib. Permission error for using lib at compiling. Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant