I'm trying to compile a C program and it tells me

user@cu-cs-vm:~/Downloads/pa5$ make
gcc -c -g -Wall -Wextra `pkg-config fuse --cflags` fusehello.c

Package fuse was not found in the pkg-config search path.

Perhaps you should add the directory containing `fuse.pc'
to the PKG_CONFIG_PATH environment variable

No package 'fuse' found

fusehello.c:21:18: fatal error: fuse.h: No such file or directory
compilation terminated.

When I try to install fuse, it just tells me it's already installed.

sudo apt-get install fuse 

I looked in usr/lib/pkgconfig and fuse.pc wasn't there. Should it be there?


I don't know which distro you are using, but you probably need to install libfuse-dev. The fuse header files are missing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.