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?

1 Answer 1


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

  • Here the instructions of the comment by ElectricRCAircraftGuy worked.
    – Soerendip
    Commented Oct 12, 2021 at 18:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .