gridfs-fuse icon indicating copy to clipboard operation
gridfs-fuse copied to clipboard

Cannot find -lfuse_ino64 and -lmongoclient when compiling

Open netandreus opened this issue 13 years ago • 3 comments

I trying to compile gridfs-fuse and get some errors:

root@z11:~/111/gridfs-fuse# make g++ -o mount_gridfs main.o operations.o options.o local_gridfile.o -L/usr/local/lib -L. -lmongoclient -lfuse_ino64 >-lboost_thread-mt -lboost_filesystem-mt -lboost_system-mt /usr/bin/ld: cannot find -lmongoclient /usr/bin/ld: cannot find -lfuse_ino64 collect2: ld returned 1 exit status make: *** [mount_gridfs] Error 1 root@z11:~/111/gridfs-fuse#

What shall I do to compile it correctly?

netandreus avatar Sep 17 '11 19:09 netandreus

netandreus - Perhaps see my fork and read the README about debian compilation? I don't know, maybe the debian LDOPTS should be the value for all compilations. What system you using?

wwoods avatar Dec 01 '11 02:12 wwoods

Ubuntu 10.10 x86_64

netandreus avatar Dec 01 '11 08:12 netandreus

Yeah, if you read the README (essentially it lists the packages and tells you to use "make debian") in my fork and follow those directions it should compile fine.

wwoods avatar Dec 01 '11 16:12 wwoods