Skip to content

Failed to make TabFS even though macFUSE 4.0.4 being installed. #11

@harukaeru

Description

@harukaeru

The below is the error message as I try to install TabFS.

$ cd fs
$ make
cc -I/usr/local/include/osxfuse/fuse -L/usr/local/lib -D_DARWIN_USE_64_BIT_INODE -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -Wall -Wno-unused-function -g -o tabfs tabfs.c -losxfuse
ld: library not found for -losxfuse
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [tabfs] Error 1

Apparently, macFUSE 4.0.4 set a header file as /usr/local/include/fuse/fuse.h, not /usr/local/include/osxfuse/fuse.h.
image

That is why, in my case, I edited Makefile and changed a line LIBS = -losxfuse into LIBS = -lfuse. It seems to work so far.
Actually, this resolved my problem. However I wanted to share this problem because there should be some instructions about this case on documentation for the convenience to other users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions