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

Problems with loading libraries, ldconfig, etc.



Hello all,

I am having trouble getting a commercial app (matlab V5.3 R11.1) to run
in Debian 2.2.  Mathworks (the makers of matlab) do not support it on
Debian 2.2 probably because it is a libc5 compiled app. Here is the
output I get when attempting to run matlab:

  $ matlab
  /opt/matlab/V11.1/bin/lnx86/matlab: can't load library 'libXt.so.6'

Ok, so my limited understanding tells me to check ldconfig for
libXt.so.6:

  # ldconfig -v | grep libXt
  libXtst.so.6 => libXtst.so.6.1
  libXt.so.6 => libXt.so.6.0

or

  # locate libXt.so.6
  /usr/X11R6/lib/libXt.so.6
  /usr/X11R6/lib/libXt.so.6.0
  
So why is it not getting loaded?  Here is my /etc/ld.so.conf:

  /usr/X11R6/lib/Xaw3d
  /usr/X11R6/lib
  /usr/lib/libc5-compat
  /lib/libc5-compat

I tried the following:

  # cd /lib
  # ln -s ../usr/X11R6/lib/libXt.so.6 libXt.so.6
  # ldconfig
 
and then tried running matlab:

  $ matlab
  /opt/matlab/V11.1/bin/lnx86/matlab: can't load library 'libX11.so.6'

Can anyone tell me what's going on here?  Why will it load from /lib but
not /usr/X11R6/lib?

Any help would be greatly appreciated.

Thanks in advance.

Sincerely,

Dan



Reply to: