klxedu / blog

2 stars 0 forks source link

openoffice安装启动过程问题处理 #40

Open songhuiqing88 opened 6 years ago

songhuiqing88 commented 6 years ago

异常一

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

如果出现这种情况,说明在/opt/openoffice4/program/下缺少libXext.so.6文件,可以去/usr/lib64 或者 /usr/lib 查看有没有这个文件,如果有就copy到/opt/openoffice4/program/目录里面,如果没有在安装
# yum install libXext.x86_64

异常二

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

yum install freetype

异常三

no suitable windowing system found, exiting.

# yum groupinstall "X Window System"
eriklight commented 6 years ago

linux,启动命令: nohup /opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &