🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37284

Can't find installed shared libs when executing client on Sun

#37284
From: jeffrey.a.schneiderman
Date: Fri, 23 Feb 1990 16:29
37 lines
1460 bytes
I built and installed R4 on my Sun Sparcstation-1.

When I try executing clients out of /usr/bin/X11 I get an error that it
can't find the shared libraries. The error message looks like this:

	ld.so: libX11.so.4: not found

However, if I go to the client source directory and execute the client, 
the client executes just fine. 

Then, I added the environment variable LD_LIBRARY_PATH to be
LD_LIBRARY_PATH=/usr/X/mit/lib/Xaw:/usr/X/mit/lib/X:
	        /usr/X/mit/lib/Xau:/usr/X/mit/lib/Xaw:
	        /usr/X/mit/lib/Xmu:/usr/X/mit/lib/Xt

Now I was able to execute clients from /usr/X11/bin.
However, I still couldn't execute xterm and xload.

QUESTIONS: 

	1) Why am I not able to pick up the installed shared libraries 
	   from /usr/lib.

	2) Even when I set the LD_LIBRARY_PATH how come all the clients work 
	   except xload and xterm.

	3) How do I correct this problem.

Thanks,

-----------------------------------

Jeff Schneiderman	
AT&T Bell Labs		
jas@ihc.ATT.COM
att!ihc!jas
Technical Details
Message-ID: <13872@cbnewsc.ATT.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!att!cbnewsc!jas

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!att!cbnewsc!jas
From: jas@cbnewsc.ATT.COM (jeffrey.a.schneiderman)
Newsgroups: comp.windows.x
Subject: Can't find installed shared libs when executing client on Sun
Keywords: Shared libraries, Sun, clients, X11R4
Message-ID: <13872@cbnewsc.ATT.COM>
Date: 23 Feb 90 16:29:53 GMT
Distribution: na
Organization: AT&T Bell Laboratories
Lines: 37