Results 1 to 7 of 7

Thread: [Howto] make Simulink 6 run (Matlab Version 7.0.0.19901 (R14))

Threaded View

  1. #1
    Join Date
    Apr 2005
    Location
    Berlin, Europe
    Beans
    213
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    [Howto] make Simulink 6 run (Matlab Version 7.0.0.19901 (R14))

    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
    Last edited by phen; November 28th, 2007 at 09:12 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •