Solve the error that libexpat. so.0 cannot be found when running stardict.

Source: Internet
Author: User
Solve the problem that the library libexpat. so.0 cannot be found when running stardict -- Linux general technology-Linux technology and application information. For details, see the following. The error originated from upgrading the system kernel. After re-compiling the kernel, there were a series of problems. I will not elaborate on it here, but I cannot remember that there were so many problems that stardict could not run.

Error prompt:
Stardict: error while loading shared libraries: libexpat. so.0: cannot open shared object file: no such file or directory

Because my machine is amd64, when I use emerge-p stardict to view the program status, I find that it is masked and the key word is "amd64". I can view libexpat files in the system.

Locate libexpat *

It is found that there are libexpat files in/usr/lib32 and/usr/lib64, but one of them is a real library file, and each has two links, called libexpat. so.1 and libexpat. so, so I tried to create a new symbolic link.

Ln-s libexpat. so.1 libexpat. so.0

After this operation is performed in both folders, it is found that libexpat. so.0 in the lib64 folder actually works, and stardict can be used normally now.
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.