问题描述

使用命令

ossfs xscloud /root/ossfs -ourl=http://oss-cn-shenzhen-internal.aliyuncs.com  

提示

ossfs: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

debain9 没法使用ossfs将oss挂载到本地
原因是 ossfs 必须使用 openssl1.0 版本
而debain9 最低安装openssl1.1 的版本

解决办法

采用源码安装的方式即可
安装库

sudo apt-get install automake autotools-dev g++ git libcurl4-gnutls-dev libfuse-dev libssl-dev libxml2-dev make pkg-config

安装

git clone https://github.com/aliyun/ossfs.git
cd ossfs
./autogen.sh
./configure
make
sudo make install

配置

配置请按照官方文档进行配置
亲测可用