[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with MATLAB 5.2.1 and Debian 2.0

*- Bill Blackwell wrote about "Problem with MATLAB 5.2.1 and Debian 2.0"
| Hi,
|    When I recently upgraded to Debian 2.0, MATLAB died.  I've taken
| care of the libraries:
| libg++.so.27
| libstdc++.so.27
| libdl.so.1
| When I try to run matlab I get the following message:
| Regex Error: Memory exhausted
| Aborted
| Have any of you run into this?  What's the fix?  Mathworks is giving me
| the ol' "It works with RedHat" song and dance.

I hate that excuse!  Hopefully when the FHS and LCS get put into place
and accepted this will not be an issue.

Have you changed what /bin/sh points to?  The Matlab start up scripts
use sh scripts very heavily and that might be causing a problem. You
could also run 'strace -f -o /tmp/matlab.strace matlab' and see if
you can wade through that to see where it might be failing.  Just as a
reference this is my setup for Matlab

{~}[1]>which sh
{~}[2]>ls -l /bin/sh
   0 lrwxrwxrwx   1 root     root            4 Jul 20 13:06 /bin/sh -> bash*
{~}[3]>ldd /usr/local/matlab5/bin/lnx86/matlab
        libXpm.so.4 => /usr/lib/libc5-compat/libXpm.so.4 (0x4000b000)
        libXt.so.6 => /usr/lib/libc5-compat/libXt.so.6 (0x40019000)
        libXext.so.6 => /usr/lib/libc5-compat/libXext.so.6 (0x4005b000)
        libX11.so.6 => /usr/lib/libc5-compat/libX11.so.6 (0x40066000)
        libtermcap.so.2 => /lib/libtermcap.so.2 (0x40104000)
        libdl.so.1 => /lib/libdl.so.1 (0x40108000)
        libg++.so.27 => /usr/lib/libc5-compat/libg++.so.27 (0x4010b000)
        libstdc++.so.27 => /usr/lib/libc5-compat/libstdc++.so.27 (0x40143000)
        libm.so.5 => /lib/libm.so.5 (0x40174000)
        libc.so.5 => /lib/libc.so.5 (0x4017d000)
        libSM.so.6 => /usr/lib/libc5-compat/libSM.so.6 (0x4023b000)
        libICE.so.6 => /usr/lib/libc5-compat/libICE.so.6 (0x40244000)

"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
							   - unknown  

Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis

Reply to: