kkFileView icon indicating copy to clipboard operation
kkFileView copied to clipboard

ubuntu server 20.04 org.artofsolving.jodconverter.office.OfficeException: failed to start and connect 启动失败解决办法

Open xiaxiaxiaxia opened this issue 3 years ago • 0 comments

执行:

/opt/libreoffice7.1/program/soffice --help

报错:

/opt/libreoffice7.1/program/soffice.bin: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory

缺少依赖,按照以下步骤安装

# Install
$ apt-get update
$ apt-get install apt-file
# Update apt-file
$ apt-file update

apt-file search libSM.so.6

apt-get install libsm6

重新运行成功,项目启动成功

xiaxiaxiaxia avatar Aug 23 '21 16:08 xiaxiaxiaxia