On centos 6.4, the WPS new document error symbol lookup error:/opt/Kingsoft/WPS-Office/office6/libftex. So: Undefined symb

Source: Internet
Author: User

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

3. 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:

Export LD_LIBRARY_PATH =/opt/Kingsoft/WPS-Office/office6 :$ {LD_LIBRARY_PATH}

Start WPS to create a new document.

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.