在CentOS系统中使用LibreOffice时,用户可能会遇到一些常见问题。以下是一些常见问题的解答:
找不到共享库文件:
/opt/openoffice4/program/soffice.bin: error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory 。yum install libX11-common-1.6.0-6.el6.noarch.rpm yum install libXau-1.0.6-4.el6.x86_64.rpm yum install libxcb-1.9.1-3.el6.x86_64.rpm yum install libX11-1.6.0-6.el6.x86_64.rpm yum install libXext-1.3.2-2.1.el6.x86_64.rpm 安装后菜单中文乱码:
mkdir -p /usr/share/fonts/win cp -r C:\WINDOWS\Fonts/* /usr/share/fonts/win/ mkfontscale mkfontdir fc-cache -fv LibreOffice启动崩溃:
yum install kf5-kcoreaddons kf5-ki18n kf5-kconfig-core kf5-kwindowsystem kf5-kio-core-libs kf5-kio-file-widgets X11错误:
X11 Error: BadValue (integer parameter out of range for operation)。sudo yum install libX11-devel 无法启动LibreOffice服务:
IllegalStateException: process with acceptString 'socket,host127.0.0.1,port8100' started but its pid could not be found。soffice -headless -accept "socket,host127.0.0.1,port8100;urp;" -nofirststartwizard & 字体问题:
fonts组来解决这个问题:yum groupinstall "fonts" 环境变量配置:
export PATH=$PATH:/opt/libreoffice/program 通过以上方法,可以有效解决在CentOS系统中使用LibreOffice时遇到的一些常见问题。如果问题依然存在,建议参考具体的错误信息,进一步排查和解决。