Can't find shared libraries
I installed slink using the CD that came with the New Riders
book and seem to have a problem finding shared libraries.
When I try and run wordperfect I get -
xwp: can't load library 'libXt.so.6'
locate libXt.so.6 produces
/usr/X11R6/lib/libXt.so.6
/usr/X11R6/lib/libXt.so.6.0
I check permissions with ls -l /usr/X11R6/lib/libXt.so.6* and get
lrwxrwxrwx 1 root root 12 Nov 6 02:33 /usr/X11R6/lib/libXt.so.6 -> libXt.so.6.0
-rw-r--r-- 1 root root 290440 Feb 23 1999 /usr/X11R6/lib/libXt.so.6.0
I know the paths must be in ld.so.conf so I check with less /etc/ld.so.conf
and get
/usr/lib/tkstep
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/lib/libc5-compat
/lib/libc5-compat
/etc/ld.so.conf (END)
The paths are there - I have run ldconfig loads of times.
The only way I can get the system to find the libraries is to
add put paths in the environment variable LD_LIBRARY_PATH or
to put a link in /lib or /usr/lib.
I shouldn't need to if the path is in ld.so.conf should I?
Reply to: