由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Hardware版 - centos/rhel 6.x x86_64安装wps
相关主题
CentOS 7 blacklist nouveau失败,何解?关于openwrt的一个问题
有谁在Fedora/CentOS/RHEL下面成功安装Brother一体机的嘛?微软将Linux指令Sudo注册为专利
感觉oracle linux不错啊x61的无线网卡问题
Debian or CentOS为啥从router上能ping但是不能wget? (转载)
跟风啊,1511如何往LAN上面的server高速上传文件?
挣扎是没有用的 你不用win10new to ubuntu and help
ubuntu很不错啊windows 7 x64 串口不工作
Vista 烂在哪里?ThinkPad上怎么跑hdderase?
相关话题的讨论汇总
话题: wps话题: rpm话题: 64话题: wpp话题: libstd
进入Hardware版参与讨论
1 (共1页)
y**b
发帖数: 10166
1
ref:
https://www.centos.org/forums/viewtopic.php?t=45470
http://wps-community.org/forum/viewtopic.php?f=4&t=374
1. wget http://kdl1.cache.wps.com/ksodl/download/linux/a21//wps-office-10.1.0.5707-1.a21.x86_64.rpm
2. sudo rpm -ivh --nodeps wps-office-10.1.0.5707-1.a21.x86_64.rpm
3. get the required versions of libstdc++ and libfreetype from the links
below:
http://rpm.pbone.net/index.php3?stat=26&dist=84&size=376849&name=freetype-2.4.8-4.fc17.x86_64.rpm
http://rpm.pbone.net/index.php3?stat=26&dist=84&size=277193&name=libstdc%2B%2B-4.7.0-5.fc17.x86_64.rpm
rpm2cpio freetype-2.4.8-4.fc17.x86_64.rpm | cpio -idmv
rpm2cpio libstdc++-4.7.0-5.fc17.x86_64.rpm | cpio -idmv
and find the 4 files and copy to wps installation location:
libfreetype.so.6.8.0
libfreetype.so.6
libstdc++.so.6.0.17
libstdc++.so.6
sudo cp lib* /opt/kingsoft/wps-office/office6/
4. install glibc2.14 separately!!!
wget https://ftp.gnu.org/gnu/libc/glibc-2.14.tar.gz
tar xf glibc-2.14.tar.gz
cd glibc-2.14
mkdir _build
cd _build/
export LD_LIBRARY_PATH= (if necessary)
../configure --prefix=/opt/glibc2.14
make -j12
sudo make install
5. run wps
export LD_LIBRARY_PATH=/opt/glibc2.14/lib
wps
wpp
et
wps和et退出时会显示: line 38: 64372 Segmentation fault (core dumped) ${
gInstallPath}/office6/${gApp} ${gOptExt} ${gOpt} "[email protected]"
但不影响使用。
/opt/kingsoft/wps-office/office6/wpp: error while loading shared libraries:
liblzma.so.5: cannot open shared object file: No such file or directory
wpp这个问题很容易解决:
6. for wpp library issue
6.1
cd /usr/lib64
ln -s ../../lib64/libbz2.so.1 libbz2.so.1.0
6.2
http://rpm.pbone.net/index.php3/stat/4/idpl/33494697/dir/redhat_el_6/com/liblzma5-5.2.2-111.1.x86_64.rpm.html
wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:
/AndreasStieger:/branches:/Archiving/RedHat_RHEL-6/x86_64/liblzma5-5.2.2-111
.1.x86_64.rpm
sudo rpm -ivh liblzma5-5.2.2-111.1.x86_64.rpm
s********i
发帖数: 17328
2
你这是做什么?吃饱了没事儿干吗?
1 (共1页)
进入Hardware版参与讨论
相关主题
ThinkPad上怎么跑hdderase?跟风啊,1511
Dell T410 multi boot 问题挣扎是没有用的 你不用win10
hulu for xbmc 又可以用了 (转载)ubuntu很不错啊
大家都怎么学习linux得啊?Vista 烂在哪里?
CentOS 7 blacklist nouveau失败,何解?关于openwrt的一个问题
有谁在Fedora/CentOS/RHEL下面成功安装Brother一体机的嘛?微软将Linux指令Sudo注册为专利
感觉oracle linux不错啊x61的无线网卡问题
Debian or CentOS为啥从router上能ping但是不能wget? (转载)
相关话题的讨论汇总
话题: wps话题: rpm话题: 64话题: wpp话题: libstd