启动服务报错:
[root@paas64 program]# soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard
/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 libXext.x86_64
安装信息如下:
Downloading Packages:
(1/5): libX11-1.6.3-2.el6.x86_64.rpm | 586 kB 00:01
(2/5): libX11-common-1.6.3-2.el6.noarch.rpm | 169 kB 00:00
(3/5): libXau-1.0.6-4.el6.x86_64.rpm | 24 kB 00:00
(4/5): libXext-1.3.3-1.el6.x86_64.rpm | 35 kB 00:00
(5/5): libxcb-1.11-2.el6.x86_64.rpm | 142 kB 00:00
-------------------------------------------------------------------------------------------------
Total 480 kB/s | 957 kB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : libXau-1.0.6-4.el6.x86_64 1/5
Installing : libxcb-1.11-2.el6.x86_64 2/5
Installing : libX11-common-1.6.3-2.el6.noarch 3/5
Installing : libX11-1.6.3-2.el6.x86_64 4/5
Installing : libXext-1.3.3-1.el6.x86_64 5/5
Verifying : libX11-common-1.6.3-2.el6.noarch 1/5
Verifying : libX11-1.6.3-2.el6.x86_64 2/5
Verifying : libxcb-1.11-2.el6.x86_64 3/5
Verifying : libXext-1.3.3-1.el6.x86_64 4/5
Verifying : libXau-1.0.6-4.el6.x86_64 5/5
Installed:
libXext.x86_64 0:1.3.3-1.el6
Dependency Installed:
libX11.x86_64 0:1.6.3-2.el6 libX11-common.noarch 0:1.6.3-2.el6 libXau.x86_64 0:1.0.6-4.el6
libxcb.x86_64 0:1.11-2.el6
怎样才能找到libXext.so.6文件目录?
看看
/usr/lib64
下面有没有,然后拷贝到/opt/openoffice4/program/
里面去