• Tag Archives matlab
  • Matlab fixes

    Wondering what happens when you install matlab 2008a on a system that has an older version of glibc? Well, it bitches and moans and complains to you, despite the fact that the Mathworks people have since come out and said that the version of glibc that you have installed on the system will in fact work fine and not cause any problems.

    The fix? Easy… just patch your oscheck.sh file in your matlab distribution and the whining will go away. Here is the patch:

    --- oscheck.sh    2008-05-28 09:48:55.000000000 -0400
    +++ oscheck.sh.old    2007-12-02 01:34:35.000000000 -0500
    @@ -102,7 +102,7 @@
    #                  of the data. Set oscheck_debug=0 for shipping.
    #
    # Copyright 1996-2007 The MathWorks, Inc.
    -# $Revision: 1.1.12.1 $  $Date: 2008/03/24 17:59:41 $
    +# $Revision: 1.1.6.4 $  $Date: 2007/12/03 21:53:17 $
    #----------------------------------------------------------------------------
    #
    
    @@ -153,8 +153,8 @@ else
    #                   arch   OSprefix minimum_ver release_ver future_ver
    #
    oslist="        sol64   SunOS    5.10         5.10         -"
    -        oslist="$oslist glnx86  glibc    2.3.4       2.3.4       -"
    -        oslist="$oslist glnxa64 glibc    2.3.4       2.3.4       -"
    +        oslist="$oslist glnx86  glibc    2.3.6       2.3.6       -"
    +        oslist="$oslist glnxa64 glibc    2.3.6       2.3.6       -"
    oslist="$oslist mac     Darwin   8.7.0       8.7.0       -"
    oslist="$oslist maci    Darwin   8.7.0       8.7.0       -"
    oslist="$oslist maci64  Darwin   9.0.0       9.0.0       -"