cattelan@umn-cs.CS.UMN.EDU (Russell Cattelan) (01/05/90)
-=>xinit ld.so: libXmu.so.4: not found -=> I can't get anything to work. I can't even run a client program on a already running X server (R3 of course) <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <> :-{ :-\<> Russell Cattelan University of Minnesota <> <> :-} :-`) <> cattelan@umn-cs.cs.umn.edu <> <> :-) :-( <> {...!rutgers!umn-cs!cattelan} <> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
keith@EXPO.LCS.MIT.EDU (Keith Packard) (01/05/90)
-=>xinit ld.so: libXmu.so.4: not found This means that the program can't find the shared library. Make sure you install all of the X libraries in an appropriate directory (/usr/lib springs to mind) and run ldconfig as root. Otherwise, you'll have to play with the LD_LIBRARY_PATH (check the ld.1 manual page). To install just the libraries: $ cd lib ; the lib sub-directory of the X source tree $ make install $ su Password: # ldconfig # exit $ Shared libraries are not as easy to use as non-shared libraries, but I think you'll find the disk space savings worth the effort. Keith Packard MIT X Consortium
mlandau@bbn.com (Matt Landau) (01/05/90)
cattelan@umn-cs.CS.UMN.EDU (Russell Cattelan) writes: >-=>xinit >ld.so: libXmu.so.4: not found Well, if you're running on a Sun with shared libraries, it probably means that you haven't setenv LD_LIBRARY_PATH to something that includes the directories where your shared X11R4 libraries are located. LD_LIBRARY_PATH is supposed to be a colon-separated list of directories that are searched when the runtime loader tries to resolve references to shared libraries. After creating the shared libraries for X, you may also wish to rerun ldconfig to update the link editor's cache. I haven't noticed that it makes much difference, but the man pages imply that there's a performance gain from doing it. See the Sun man pages on ld and ldconfig for more information. -- Matt Landau Waiting for a flash of enlightenment mlandau@bbn.com in all this blood and thunder
nasa@attctc.Dallas.TX.US (Daniel Poirot) (01/08/90)
In article <9001050358.AA04107@xenon.lcs.mit.edu> keith@EXPO.LCS.MIT.EDU (Keith Packard) writes: > >-=>xinit >ld.so: libXmu.so.4: not found > >This means that the program can't find the shared library. Make sure >you install all of the X libraries in an appropriate directory >(/usr/lib springs to mind) and run ldconfig as root. > >Keith Packard >MIT X Consortium Thanks for the tip. We just upgraded from SunOS 3.5 to 4.0.3 two days before I started loading X11R4. I hadn't got into the manual to find out what the heck to do about the shared libs. Daniel Poirot nasa@attctc.dallas.tx.us Lockheed C87 phone 713/483-2426 2400 Nasa Rd. 1 phax 713/483-6120 Houston, TX 77536 "A mind is a terrible thing."