previous up next print clean
Next: Xtex under OpenWindows Up: MACHINE-SPECIFIC ENVIRONMENT Previous: X applications resource directory

Load library path on SUN

If you are running OpenWindows or the X-windows system on a Sun workstation and get something like
ld.so: warning: /usr/openwin/lib/libXt.so.4.0 has older revision than expected
ld.so: warning: /usr/openwin/lib/libX11.so.4.3 has older revision than expected
ld.so: Undefined symbol: _XtStrings
when you try running ``Xtpen'', the culprit is your LD_LIBRARY_PATH.

This is a list of directories the computer looks through to find runtime-loaded subroutines used by the executable but not contained within it. Examine your LD_LIBRARY_PATH by doing

echo $LD_LIBRARY_PATH
Assuming your LD_LIBRARY_PATH does not begin with ``:'', prepend the required X library directory to the beginning by doing

setenv LD_LIBRARY_PATH "/sepcd2/MACHINE\_TYPE/lib:"$LD_LIBRARY_PATH

You need to do this so that certain X11 subroutines have the opportunity to be merged into the executable before older incompatible versions of the same routines (needed by OpenWindows) can force their way in. (OpenWindows programs will still work; the loader is smart enough not to attach new subroutines to an old program.)

Alternatively, ask the person who installed SEPlib at your site to relink everything using static linking. (It may also be possible for them to relink everything so that the correct load-library path for your site is automatically ``built in'' to the executables.)


previous up next print clean
Next: Xtex under OpenWindows Up: MACHINE-SPECIFIC ENVIRONMENT Previous: X applications resource directory
Stanford Exploration Project
11/18/1997