You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failed to make TabFS even though macFUSE 4.0.4 being installed. #11
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.
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.
changed the title [-]Failed to install TabFS even though macFUSE 4.0.4 being installed.[/-][+]Failed to make TabFS even though macFUSE 4.0.4 being installed.[/+]on Jan 1, 2021
thanks! I've linked this issue from the page for now.
I probably need to go through this whole install process end to end on my (clean) other laptop and figure out a pathway that definitely works on Mac, so I can properly update the doc -- it seems like there are like least 3 different ones that have come up just in this thread (and maybe some people already have FUSE installed, etc).
@erikcw Looks like you're on a mac -- what version of macFUSE are you using? I ran into this as well, and it helped me to:
Update to the latest version of macFuse (4.0.5). I installed originally with homebrew, so I ended up removing the osxfuse cask and installing the dmg from their website.
Follow @ebridges suggestion above to symlink the fuse lib to remove the .2:
cd /usr/local/lib
ln -s libosxfuse.2.dylib libosxfuse.dylib
Reboot for good measure, and verify your macFuse version by going to System Preferences > macFUSE
Activity
[-]Failed to install TabFS even though macFUSE 4.0.4 being installed.[/-][+]Failed to make TabFS even though macFUSE 4.0.4 being installed.[/+]wuharvey commentedon Jan 2, 2021
Thanks for this - ran into the exact same issue.
andrewjuey commentedon Jan 2, 2021
this fix worked perfectly
junhoyeo commentedon Jan 2, 2021
I was facing the same issue like above, and then this worked for me too.
sitz commentedon Jan 2, 2021
I had the same issue while running
makeeven after installing as described at osxfuse/osxfuse.Managed to get it working by installing from Homebrew directly, Ref.
brew install --cask osxfuseebridges commentedon Jan 2, 2021
I worked around this issue by symlinking the lib so that it didn't have the
.2in the filename:osnr commentedon Jan 2, 2021
thanks! I've linked this issue from the page for now.
I probably need to go through this whole install process end to end on my (clean) other laptop and figure out a pathway that definitely works on Mac, so I can properly update the doc -- it seems like there are like least 3 different ones that have come up just in this thread (and maybe some people already have FUSE installed, etc).
BenjaminHCCarr commentedon Jan 3, 2021
Another vote for @harukaeru 's fix:
edited Makefile and changed a line
LIBS = -losxfusetoLIBS = -lfuseThis is with both OSXFiuse 3.12 from HomeBrew and 4.0.2 from osxfuse from github
erikcw commentedon Jan 4, 2021
Just tried upgrading to the latest version and am now getting the following error from make:
Built without issue last week.
shawntax commentedon Jan 4, 2021
@erikcw Looks like you're on a mac -- what version of macFUSE are you using? I ran into this as well, and it helped me to:
Update to the latest version of macFuse (
4.0.5). I installed originally with homebrew, so I ended up removing theosxfusecask and installing the dmg from their website.Follow @ebridges suggestion above to symlink the fuse lib to remove the
.2:Reboot for good measure, and verify your macFuse version by going to System Preferences > macFUSE
erikcw commentedon Jan 4, 2021
@shawntax That did it. homebrew was installing macFuse 3.x.
Did not end up needed the symlink in step 2.
Thank you!
use -lfuse on Mac. fixes osnr#11. fixes osnr#20