Re: Matlab 5.2 and Hamm
*- Mark Phillips wrote about "Matlab 5.2 and Hamm"
> Hi,
>
> I want to install matlab 5.2 on a Hamm system. I think I need to check
> that I have the correct libraries. I've found a list at:
>
> http://www.mathworks.com/support/solutions/v5/21466.shtml
>
> But the other thing is: is matlab compiled under libc5 or libc6? And how
> does this affect things?
>
> I notice for example that there is
> /usr/lib/libc5-compat/libXt.so.6.0
> and
> /usr/X11R6/lib/libXt.so.6.0
>
> How does linux work out which library to use when running matlab?
>
> Any more hints greatly appreciated.
>
This is what I have on my hamm + misc. slink system:
% 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)
You will need xpm4.7, xlib6, libg++27, and maybe termcap-compat.
This works great for me. The ld.so library loader automagically knows
which libraries to call.
--
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 servis@purdue.edu
Purdue University http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------
Reply to: