[15715] in Athena Bugs
linux 7.7.3.0: matlab
daemon@ATHENA.MIT.EDU (Salvatore Valente)
Wed Dec 3 16:39:33 1997
To: bugs@MIT.EDU
Date: Wed, 03 Dec 1997 16:39:29 EST
From: Salvatore Valente <svalente@MIT.EDU>
System name: snorklewacker.mit.edu
Type and version: i686 7.7.3.0
Display type: linux
What were you trying to do?
Run Matlab version 5
What's wrong:
Matlab version 5 does not require /lib/elf.
However, /mit/matlab_v5.0/arch/i386_linux2/bin/matlab50 is a shell
script that checks for /lib/elf before running the executable.
What should have happened:
Matlab version 5 should have run even though I do not have a
/lib/elf directory on my computer.
Please describe any relevant documentation references:
Here's a patch.
*** matlab50 Wed Jul 16 12:22:13 1997
--- /tmp/matlab50 Wed Dec 3 16:32:01 1997
***************
*** 60,72 ****
ARCH=lnx86
LD_LIBRARY_PATH=$locker/arch/lib/@sys
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"
! echo "executables, and you must create a directory /lib/elf and"
! echo "copy the file /mit/matlab/linuxlib/elf/ld-linux.so.1 to"
! echo "/lib/elf/ld-linux.so.1"
exit
fi
echo " WARNING: You MUST be using Linux-AFS 1.2.13 or higher to run"
--- 60,70 ----
ARCH=lnx86
LD_LIBRARY_PATH=$locker/arch/lib/@sys
export LD_LIBRARY_PATH
! if [ ! -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"
! echo "executables, and you must have libc version 5 installed."
exit
fi
echo " WARNING: You MUST be using Linux-AFS 1.2.13 or higher to run"