Path: utzoo!attcan!uunet!cs.utexas.edu!merworth From: merworth@cs.utexas.edu (Boyd Merworth) Newsgroups: comp.windows.x Subject: XFILESEARCHPATH Keywords: XFILESEARCHPATH Xt libXt.a Message-ID: <13@unknown.cs.utexas.edu> Date: 15 Aug 90 15:15:19 GMT Organization: U. Texas CS Dept., Austin, Texas Lines: 48 I'm have a bit of a problem getting XFILESEARCHPATH to follow a new path to the libraries under X11R4. In lib/Xt/Intrinsic.c the following code seems to be where XFILESEARCHPATH is checked and if it is non-null use it otherwise use XFILESEARCHPATHDEFAULT: #ifndef VMS if (defaultPath == NULL) { defaultPath = getenv("XFILESEARCHPATH"); if (defaultPath == NULL) defaultPath = XFILESEARCHPATHDEFAULT; } path = defaultPath; #else path = ""; /* NULL would kill us later */ #endif /* VMS */ But, when I set the environment variable XFILESEARCHPATH to the location of my installed libraries, the path is not followed, only the default location is checked. Am I missing something here? I'm running X11R4 on HPs under HPUX 7.0 and on Suns under OS 4.0.3. I am in the process of recompiling the code with XFILESEARCHPATHDEFAULT redefined per the notes in the ERRATA file to see if the new location for the libraries can be accessed. I'll know soon. On the Suns, I've even run ldconfig and added the new shared libraries but they still cannot be accessed. If, on the Suns I set LD_LIBRARY_PATH to the library location, then they are found at run-time execution by the clients. Any suggestions? On the HPs, I've got additional problems, like trying to locate /lusr/include/X11/bitmaps instead of the default /usr/include/X11/bitmaps. We have an X11R4 release from HP installed on our systems. I discovered this problem when trying to run xbiff with: XBiff*fullPixmap: mailfull XBiff*emptyPixmap: mailempty defined in my .Xdefaults file. If I add the full pathname to the bitmaps, then everyting is fine. On both OS's I modified site.def to use the /lusr path for BinDIr, UsrLibDir, IncDir, AdmDir, and IncRoot. Any help will be greatly appreciated. -- Boyd Merworth The University of Texas at Austin Department of Computer Sciences, TAY 2.124, Austin, Texas 78712 merworth@cs.utexas.edu {harvard,gatech,uunet}!cs.utexas.edu!merworth