How to solve the problem of failure to use the simulation system caused by libXft. so.1 encountered when installing MATLAB R14 in Linux

Source: Internet
Author: User
How to solve the problem caused by libXft. so.1 encountered by installing MATLAB R14 in Linux-Linux general technology-Linux programming and kernel information. The following is a detailed description. This problem can be solved by referring to the following solution:

Although this solution is for Fedora Core, it is actually the same in other versions of Linux.

This December, I was migrating some of the nodes to Fedora Core 6. Those machines were primarily Windows 2000 nodes and serve students in electronics during their practical classes.
An error status was returned by the program 'xsetup ', the X Window System version of install. The following messages were written to standard error:
Question 1:
/Tmp/2493 tmwinstall/update/bin/glnx86/xsetup: error while loading shared libraries: libXp. so.6: cannot open shared object file: No such fileor directory
Solution: yum install libXp-devel
Question 2: Fixing simulink: Warning: cocould not access OpenGL library
Solution: yum install libXpm-devel mesa-libGL-devel mesa-libGLU-devel
GCC 3.4 dependencies for simulink
[Root @ localhost matlab] ldd/usr/local/matlab/bin/glnx86/glren. so
/Usr/local/matlab/bin/glnx86/glren. so
/Usr/local/matlab/bin/glnx86 /.. /.. /sys/OS/glnx86/libgcc_s.so.1: version 'gcc _ 4.2.0 'not found (required by/usr/lib/libstdc. so.6)
/Usr/local/matlab/bin/glnx86/glren. so:/usr/local/matlab/bin/glnx86 /.. /.. /sys/OS/glnx86/libgcc_s.so.1: version 'gcc _ 100' not found (required by/usr/lib/libstdc. so.6 )........
Solution: yum install compat-gcc *
Cd/usr/local/matlab/sys/OS/glnx86
Mv libgcc_s.so.1 libgcc_s.so.1_back
Ln-s/lib/libgcc_s.so.1 libgcc_s.so.1
Question 3: broken symbolic link with simulink Part One: Can't load '/usr/local/matlab/bin/glnx86/libmwsimulink. so ': libXft. so.1: cannot open shared object file: No such file or directory
Solution:
[Root @ localhost matlab] # updatedb & locate libXft. so
/Usr/lib/libXft. so
/Usr/lib/libXft. so.2
/Usr/lib/libXft. so.2.1.2
[Root @ localhost matlab] # ln-s/usr/lib/libXft. so.2/usr/lib/libXft. so.1
Question 4: broken symbolic link with simulink Part Two: Can't load '/usr/local/matlab/bin/glnx86/libmwsimulink. so ':/usr/local/matlab/bin/glnx86/libqt-mt.so.3: undefined symbol: XftFreeTypeOpen
Solution:
Yum install qt
Mv/usr/local/matlab/bin/glnx86/libqt-mt.so.3 usr/local/matlab/bin/glnx86/libqt-mt.so.3_back
Ln-s/usr/lib/qt-3.3/lib/libqt-mt.so.3/usr/local/matlab/bin/glnx86/libqt-mt.so.3

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.