Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: andres@cca.pue.udlap.mx (Andres M) Newsgroups: comp.windows.x Subject: Re: HELP ME! (if you have built X11R4 on Sun) Message-ID: <9104181627.AA27292@cca.pue.udlap.mx> Date: 18 Apr 91 16:27:57 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 90 > Here's my problem: Our group has two machines, a SUN 3/260 which > acts as a master for a SUN 3/50 client. We recently brought our > operating system up to SunOS 4.1, and so I thought this would be > a good time to rebuild X, and try out the GNU C compiler. I had > been told that substantial performance improvements could be > gained if you used the GNU C compiler. > > So I started over completely. I re-downloaded everything from > export.lcs.mit.edu and I reconfigured the site.def and sun.cf > files exactly as they were before the upgrade to SunOS 4.1 from > SunOS 4.0.3. (EXCEPT, OF COURSE, the OSName, OSMinorVersion, and > HasGcc build variables). The "make World" went fine, and the "make > install" went fine. However, when I say startx as I usually do, > and the system startup file tries to call xinit, I get this > error: > > ld.so: libXmu.so.4: file not found > ld.so: libXaw.so.4: file not found > > I figure hey, no problem, just a missing file. But I look in > /usr/lib, and there were files there called > > libXmu.so.4.0, libXmu.sa.4.0, and libXaw.so.4.0, > > having the suffix "4.0" instead of "4". So I copied the files > to the new suffix and changed the protection of the new files > to exactly what the old ones were, and tried again. > > Still gives me the same error message. So I do a man on ld.so > and find out a little about how that works. From the man page, > I find out that I can set the environment variable LD_LIBRARY_PATH > so I set it with the command > > $ export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib > > and try again. Same error. HOWEVER, when I become super-user > with the su command, IT RUNS FINE!!!!!!!!! (the startup file calls > xinit fine, and everything chugs along just like I'm used to). > But when I exit from being super-user (sounds like a Superman movie) > and become just little ol' user again, I get the same error message: > > ld.so: libXmu.so.4: file not found > > even WITH the LD_LIBRARY_PATH variable set. > > > My own conclusions: since the configuration is exactly the same > as it was before, AND WE NEVER HAD TO SET SOME ENVIRONMENT VARIABLE > BEFORE, then the problem is one of two things: > > 1) Something to do with Gcc; or > 2) Something to do with SunOS 4.1 (something we didn't > install right, bug. etc.) > > > The $1,000,000 question is this: HAS ANYONE SEEN THIS PROBLEM > BEFORE? DOES ANYBODY OUT THERE HAVE ANY SUGGESTIONS? > > I would really appreciate any suggestions! > > Thanks > > Eric Hyche > eric@medinfo.gatech.edu > gt7417a@prism.gatech.edu > eric@markov.eedsp.gatech.edu > > -- > ERIC HYCHE | "All I know is - He's a force more > ARPA: eric@medinfo.gatech.edu | powerful that Mom and Dad put > uucp: ...!{allegra,amd,hplabs,seismo, | together and you owe him BIG!" > ut-ngp}!gatech!prism!gt7417a | - Lisa Simpson > Try with "ldconfig" This is because they are shared libraries **************************************************************************** Andres Monterrosas Universidad de las Americas, Puebla, Mexico Ing. de Proyectos Centro de Computo E-mail: Bitnet address andres@udlapvms (Vax) Internet address andres@udlapvms.pue.udlap.mx (Vax) andres@cca.pue.udlap.mx (Sun) ****************************************************************************