红联Linux门户
Linux帮助

Linux下安装MatlabR14碰到的libXft.so.1导致的Simulink无法使用的问题的解决

发布时间:2008-05-20 00:18:33来源:红联作者:Ioonvme
这个问题参照下面的这个方案应该可以解决:

这个方案虽然是面向Fedora Core的,实际上其他的版本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/2493tmwinstall/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: Could 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_3.3’ 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
文章评论

共有 0 条评论