*- On 6 Mar, J.H.M. Dassen wrote about "Re: Matlab segfaulting now. A few weeks ago, dont. Maybe a bad upgrade..." > On Fri, Mar 05, 1999 at 20:29:09 -0400, Paulo Henrique Baptista de Oliveira > wrote: >> At home I have: >> >> [20:17:[EMAIL PROTECTED]:/usr/matlab/matlab/bin/lnx86$ldd matlab >> /usr/lib/libqthreads.so.0 => /usr/lib/libqthreads.so.0 >> (0x4000f000) > >> libreadline.so.2 => /lib/libreadline.so.2 (0x40240000) > > Can you check this again, please? Readline is GPLed, not LGPLed, so matlab > would be in violation of the GPL. > > In any case, matlab is a libc5 binary; the libreadline it is now getting > loaded against is a libc6 library. Install "libreadline" (note: no 'g') from > "oldlibs". > > Ray
Before others jump on this...I have replied off list to this but I might as well copy it to the list. You should really do ldd from a unix escape in the Matlab console since Matlab sets the LD_LIBRARY_PATH variable on startup. This is what I have: >> !printenv LD_LIBRARY_PATH /usr/local/matlab5/sys/lnx86:/usr/local/matlab5/bin/lnx86:/usr/local/matlab5/ext ern/lib/lnx86:/usr/local/matlab5/windu/lnx86:/usr/local/matlab5/opengl/lib/lnx86 >> !ldd /usr/local/matlab5/bin/lnx86/matlab libXpm.so.4 => /usr/local/matlab5/sys/lnx86/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/local/matlab5/sys/lnx86/libg++.so.27 (0x4010b000) libstdc++.so.27 => /usr/local/matlab5/sys/lnx86/libstdc++.so.27 (0x4013f000) libm.so.5 => /usr/local/matlab5/sys/lnx86/libm.so.5 (0x4016e000) libc.so.5 => /usr/local/matlab5/sys/lnx86/libc.so.5 (0x40177000) libSM.so.6 => /usr/lib/libc5-compat/libSM.so.6 (0x40233000) libICE.so.6 => /usr/lib/libc5-compat/libICE.so.6 (0x4023c000) I don't get a libreadline at all. Matlab has a set of libraries that Matlab was compiled against at ftp://ftp.mathworks.com/matlab/tech-support/library/linux/matlab5/ you could get those and install them in $MATLAB/sys/lnx86 and see if that helps. Here is my $MATLAB/sys/lnx86 590 -rw-r--r-- 1 root root 599396 Apr 11 1997 libX11.so.6.0 38 -rw-r--r-- 1 root root 37264 Apr 11 1997 libXext.so.6.0 0 lrwxrwxrwx 1 root root 13 Mar 4 16:25 libXpm.so.4 -> libXpm.so.4.9* 63 -rwxr-xr-x 1 140 users 63068 Nov 24 1997 libXpm.so.4.9* 0 lrwxrwxrwx 1 root root 14 Mar 4 16:25 libc.so.5 -> libc.so.5.4.38* 1815 -rwxr-xr-x 1 106 users 1849257 Mar 3 1998 libc.so.5.4.38* 7 -rw-r--r-- 1 root root 6983 Apr 11 1997 libdl.so.1.7.14 0 lrwxrwxrwx 1 root root 16 Mar 4 16:25 libg++.so.27 -> libg++.so.27.2.8* 937 -rw-r--r-- 1 root root 953531 Apr 11 1997 libg++.so.27.1.4 953 -rwxr-xr-x 1 106 users 969891 Mar 3 1998 libg++.so.27.2.8* 0 lrwxrwxrwx 1 root root 13 Mar 4 16:25 libm.so.5 -> libm.so.5.0.9* 75 -rwxr-xr-x 1 106 users 75717 Mar 3 1998 libm.so.5.0.9* 0 lrwxrwxrwx 1 root root 19 Mar 4 16:25 libstdc++.so.27 -> libstdc++.so.27.2.8* 828 -rw-r--r-- 1 root root 841780 Apr 11 1997 libstdc++.so.27.1.4 861 -rwxr-xr-x 1 106 users 875636 Mar 3 1998 libstdc++.so.27.2.8* -- Brian --------------------------------------------------------------------- "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 [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis ---------------------------------------------------------------------