[14717] in Athena Bugs

home help back first fref pref prev next nref lref last post

Matlab on Linux

daemon@ATHENA.MIT.EDU (Derek Atkins)
Tue Oct 1 10:58:56 1996

Date: Tue, 1 Oct 1996 10:59:29 -0400
From: Derek Atkins <warlord@MIT.EDU>
To: bugs@MIT.EDU

I found a bug in the Matlab script for Linux.  The problem is that
newer releases which already support ELF don't use /lib/elf, and
ld-linux.so.1 is in /lib.  This patch fixes the problem, allowing
matlab to be run on such systems.

*** /mit/matlab/linuxbin/matlab Thu Sep 26 16:42:53 1996
--- matlab      Tue Oct  1 09:53:50 1996
***************
*** 62,68 ****
        ARCH=lnx86
         LD_LIBRARY_PATH=$locker/linuxlib/elf
           export  LD_LIBRARY_PATH
!         if [ ! -f /lib/elf/ld-linux.so.1 ]
          then
            echo "MATLAB for Linux requires support for executing ELF binary"
            echo "object files.  You must have a kernel configured to run ELF"
--- 62,68 ----
        ARCH=lnx86
         LD_LIBRARY_PATH=$locker/linuxlib/elf
           export  LD_LIBRARY_PATH
!         if [ ! -f /lib/elf/ld-linux.so.1 -a ! -f /lib/ld-linux.so.1 ]
          then
            echo "MATLAB for Linux requires support for executing ELF binary"
            echo "object files.  You must have a kernel configured to run ELF"

home help back first fref pref prev next nref lref last post