[comp.windows.x] Problem with nonstandard location for libs

katz@elements.rpal.com (Morry Katz) (03/07/90)

I apologize if this topic has already been covered; but, I am not a
regular reader of this groups and I can't find any reference to my
problem in the news which remains at my site.

I am a new installer of Xwindows and have just attempted to bring up
x11r4 under SunOS4.0.3 on a Sparc.  I am attempting to put the
libraries in /usr/local/lib rather than /usr/lib.  I followed the
instructions in the ERRATA file, but to no avail.  LibXt still
contains references to the old path (i.e., /usr/lib).  

According to the ERRATA, I should have placed the following in the
file mit/config/site.def:
	#ifndef XFILESEARCHPATHDEFAULT
	#define XFILESEARCHPATHDEFAULT
                "/usr/local/lib/X11/%L/%T/%N%S:
                 /usr/local/lib/X11/%l/%T/%N%S:/usr/local/lib/X11/%T/%N%S" 
	#endif

	#ifndef ERRORDB
	#define ERRORDB "/usr/local/lib/X11/XtErrorDB"
	#endif
Unfortunately, this does not cause imake to build a makefile which
differs in any way from the one it built prior to the additions.  Even
adding a line like 
	XFILESEARCHPATH = XFILESEARCHPATH to site.def would not weem
to do the trick since the makefile to build libXt would not reference
the symbol it would define.  

Am I doing something really stupid?  Is the errata correct, or is
there an updated patch?  Someone out there must have solved this
problem long ago.
--
-------------------------------------------------------------------------------
Morry Katz
Rockwell Science Center
administrator@rpal.com (machine administration issues)
katz@rpal.com (other)
-------------------------------------------------------------------------------