huaweicloud/huaweicloud-obs-obsfs

how to install the obsfs with libfuse.so.2.9.7 of a non-root user

Opened this issue · 1 comments

OS: CentOS 7
The default fuse module is libfuse.so.2.9.2, so I download and make the libfuse.so.2.9.7.
And I place the libfuse.so.2.9.7 in /home/haiqwa/lib.
I have added the path of the libfuse.so.2.9.7 into the LD_LIBRARY_PATH and LIBRARY_PATH.

when I try to make obsfs, the output of the terminal is partly shown below:

g++ -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I /usr/include/fuse -I /usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -std=c++11 -MT curl.o -MD -MP -MF .deps/curl.Tpo -c -o curl.o curl.cpp

It seems that it still use the libfuse of version 2.9.2 in the root directory.
By the way, I also add the include directory path of the fuse in the version 2.9.7 to CPLUS_INCLUDE_PATH and C_INCLUDE_PATH.

I want to know how to specify the path of v2.9.7 fuse while installing the obsfs as a non-root user