[11] in release-74

home help back first fref pref prev next nref lref last post

X11R5 libraries

daemon@ATHENA.MIT.EDU (John Carr)
Sat Apr 18 17:24:31 1992

To: release-74@Athena.MIT.EDU
Date: Sat, 18 Apr 1992 17:24:00 EDT
From: John Carr <jfc@Athena.MIT.EDU>


On the systems which support shared libraries (RS/6000 and sparc) a
program must be able to find the shared library when it is run.  If
the library is not available, the program will not run.

This means if you link with X11R5, you may get a program which will
not run if the x11r5 locker is not attached.

The dynamic linkers support a search path for libraries.  The config files
in the X11R5 locker put "/mit/x11/${hosttype}lib" in the load path so the
loader can find the libraries.  My proposal is to do the following:

	1. Install X11R5 libraries on the srvd for system with shared
	   libraries.  These libraries do not need to be in the same
	   place as other libraries.  If x11r5 is not the standard version
	   of X a reasonable choice would be "/usr/athena/lib/X11R5".

	2. Change the x11r5 locker config files to add the directory
	   from (1) to the load path searched by x11r5 programs, AFTER the
	   standard X11R5 path.

This will make X applications which use X11R5 libraries work like andrew
programs do now: if the locker is attached they will use the latest version
of the libraries.  If the locker is not attached they will fall back to the
presumably older version that is part of the release.


home help back first fref pref prev next nref lref last post