Emacs cannot be enabled after centos 6.5 is installed.

Source: Internet
Author: User

Problem Discovery process:

After installing the latest centos version, you can find that you cannot open Emacs. After Entering Emacs in the terminal, the following prompt appears:

Emacs: Error while loading shared libraries: libotf. so.0: cannot open shared object file: no such file or directory
Then I searched for the information on the Internet. However, since centos was just released, there were no solutions. However, there were some related solutions that finally solved the problem.


Solution:

1. Find the missing libotf. so.0 file in the system prompt (you can run the locate command to find: locate libotf. so.0 ).

My system is centos6.5 i386, and my search result is as follows:

/Usr/lib/compat-openmpi/lib/libotf. so.0
/Usr/lib/compat-openmpi/lib/libotf. so.0.0.1
/Usr/lib/openmpi/lib/libotf. so.0
/Usr/lib/openmpi/lib/libotf. so.0.0.1

2. Create a link:

Ln-S/usr/lib/compat-openmpi/lib/libotf. so.0/usr/lib/libotf. so.0


3. Run the emacs editor again.

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.