Centos6.4 perfect installation of office software WPS

Source: Internet
Author: User
Yongzhong office always feels awkward. today I tried to download wps and finally succeeded. the solution is as follows: 1. libstdc ++ is missing. so.6 (GLIBCXX_3.4.14) on CentOS6.4 install Kingsoft wpskingsoft-office-9.1.0.4032-0.1.a10.i686.rpm package, error wpsRequires: libstdc ++. so.6 (GLIBCXX_3.4.14 ). Yongzhong office always feels awkward. today I tried to download wps and finally succeeded. the method is as follows:
1. solve the lack of libstdc ++. so.6 (GLIBCXX_3.4.14)
Install Kingsoft wps kingsoft-office-9.1.0.4032-0.1.a10.i686.rpm package on CentOS6.4 with the error wps Requires: libstdc ++. so.6 (GLIBCXX_3.4.14 ).

Solution:

1. first ignore dependency check to install the kingsoft-office-9.1.0.4032-0.1.a10.i686.rpm package

Sudo rpm-ivh kingsoft-office-9.1.0.4032-0.1.a10.i686.rpm package -- nodeps

2. download libstdc ++-4.7.0-5. fc17.i686. rpm Package: http://pkgs.org/fedora-17/fedora-i386/libstdc++-4.7.0-5.fc17.i686.rpm/download/


3. decompress the rpm Package

rpm2cpio libstdc++-4.7.0-5.fc17.i686.rpm |cpio -idmv  


4. copy the decompressed directory usr/lib/libstdc ++. so.6.0.17 to the wps installation directory "/opt/kingsoft/wps-office/office6 /"

5. go to the "/opt/kingsoft/wps-office/office6/" directory and create a soft link.

sudo ln -s libstdc++.so.6.0.17 libstdc++.so.6


6. edit the/usr/bin/wps file and add the following lines at the beginning of the file:

export LD_LIBRARY_PATH=/opt/kingsoft/wps-office/office6:${LD_LIBRARY_PATH}


Then you can start wps.

After this step, I started to crash and found a solution to the crash.

2. fixed the document creation error.
On CentOS 6.4, the wps new document error symbol lookup error:/opt/kingsoft/wps-office/office6/libftex. so: undefined symbol: FT_Reference_Face solution

Problem: This is because the freetype library of the wps version needs to be updated.

Solution:

1. first download the new version of lib: ftp://rpmfind.net/linux/fedora/linux/updates/17/x86_64/freetype-2.4.8-4.fc17.i686.rpm

2. decompress the rpm Package

rpm2cpio freetype-2.4.8-4.fc17.i686.rpm |cpio -idmv  

Copy code3. copy and unzip the directory usr/lib/libfreetype. so.6.8.0 to "/opt/kingsoft/wps-office/office6" in the wps installation directory"

4. go to the "/opt/kingsoft/wps-office/office6/" directory and create a soft link.

sudo ln -s libfreetype.so.6.8.0 libfreetype.so.6  


5. edit the/usr/bin/wps file and add the following lines at the beginning of the file (this is the same as the first step)

export LD_LIBRARY_PATH=/opt/kingsoft/wps-office/office6:${LD_LIBRARY_PATH}  

Start wps to create a new document.

After that, the wps on my computer can be used normally...
I also encountered a missing font problem. I have answers on the wps Forum, but I don't have any fonts folder. it seems that it is the font required for using the formula, and I cannot use it either, ignore ..
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.