Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!sun-barr!newstop!sun!kimba!hvr From: hvr@kimba.Sun.COM (Heather Rose) Newsgroups: comp.windows.x Subject: Re: Getting X11R4 up and running. Message-ID: <129927@sun.Eng.Sun.COM> Date: 5 Jan 90 19:23:58 GMT References: <12670@phoenix.Princeton.EDU> Sender: news@sun.Eng.Sun.COM Reply-To: hvr@sun.UUCP (Heather Rose) Organization: Sun Microsystems, Mountain View Lines: 32 In article <12670@phoenix.Princeton.EDU> reed@olympus.Berkeley.EDU writes: >I was wondering if anyone could help me out with this problem. Although I >was able to compile almost all of the release, all of the executables that >I try to run have the following results. > > ld.so: libXmu.so.4: not found Run ldconfig on your new shared libraries. Example, I have X11R4 installed in /home/X/usr. And I run, "ldconfig /home/X/usr/lib" after installing. >In fact, even mkfontdir does not work (which was the only part of make World >that failed.) When you install mkfontdir, it installs it as "mkfontdir" and not "mkfontdir.sh" which is what all the config files expect. I ran into this one trying to build some contrib software with the -DUseInstalled option. Also, the make install from the $(TOP) directory does not install the scripts. I had to go into the scripts source directory to get these to install. By the way, if you have OpenWindows as well, be sure to put the location of the R4 libraries in your LD_LIBRARY_PATH before the openwindows binaries. For example, I have openwindows mounted in /home/xnews. Before building X11 software, I do: "setenv LD_LIBRARY_PATH /home/X/usr/lib:/usr/lib" ld (in SunOS 4.0.x) looks at LD_LIBRARY_PATH before the options you specify with -L on the command line. There is a name change of GetHostname to XGetHostname and a new routine called XrmDestroyDatabase in xlib that is used by some of the libraries like Xt. So, it matters which version of libX11 you are using. Heather Rose hrose@sun.com