Hello all,
I didn't find help in these forums, but on a french site. Now I am very proud that I really did understand the french howto.
Original Thread in french
Since I allready asked in another thread, I want to give you a translation in case anybody else has the same problem.
Problem: when I try to start simulink, matlab crashes with an error that libXft.so.1 is missing. The error is in the first lines of text matlab writes down when it crashes. I didnt record the error message, it is something like:
Can't load '/usr/local/My_install/matlab/bin/glnx86/libmwsimulink.so': /usr/lib/libXft.so.1: no such file
the following steps assume that matlab is installed in
/usr/local/matlab7
To solve this, follow this:
Code:
sudo apt-get install libXft2
this should install you the libXft.so.2 files.
now link the older libXft.so.1 to the newer files
Code:
sudo ln -s /usr/lib/libXft.so.2.1.2 /usr/lib/libXft.so.1
Now a different error should appear when trying to start simulink:
??? Can't load '/usr/local/My_install/matlab/bin/glnx86/libmwsimulink.so': /usr/local/My_install/matlab/bin/glnx86/libqt-mt.so.3: undefined symbol: XftFreeTypeOpen
backup your old qt-mt lib
sudo mv /usr/local/matlab7/bin/glnx86/libqt-mt.so.3 /usr/local/matlab7/bin/glnx86/libqt-mt.so.3.old
now again another error appears when trying to start simulink.
fix it with
Code:
sudo mv /usr/local/matlab7/sys/os/glnx86/libgcc_s.so.1 /usr/local/matlab7/sys/os/glnx86/libgcc_s.so.1.old
now it works.
hope I could help!
bye
Bookmarks