[14986] in Athena Bugs
Linux Matlab version of ghostscript is a.out not ELF
daemon@ATHENA.MIT.EDU (W. Jesse Hong)
Thu Mar 6 16:12:17 1997
To: bugs@MIT.EDU
Date: Thu, 06 Mar 1997 16:14:01 EST
From: "W. Jesse Hong" <jesse@MIT.EDU>
Hi, just ran into a problem with the Linux version of Matlab on athena
when I try to print out a plot in GIF format I get the following error
message:
>> print -dgif8 test.gif
/mit/matlab/Matlab4.2/ghostscript/bin/lnx86/gs: can't load library '/mit/matlab/linuxlib/elf/libm.so.4'
Exec format error
/mit/matlab/Matlab4.2/ghostscript/bin/lnx86/gs: can't load library '/mit/matlab/linuxlib/elf/libc.so.4'
Exec format error
I looked it up and it looks like the version of gs in that directory
is an a.out binary which does not like the elf libraries:
athena% file gs
gs: Linux/i386 demand-paged executable (ZMAGIC) not stripped
An easy fix would be to put in an ELF version of gs instead.
Just thought I'd let you all know. Thanks.
-Jesse Hong
==========================================================================
305 Memorial Drive, Room 506C Massachusetts Institute of Technology
Cambridge, Massachusetts 02139 Mech. Engr. - Robotics, Control & AI
http://exodus.mit.edu/~jesse/ jesse@mit.edu, jesse@ai.mit.edu