[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xWindows can't load



Noah L. Meyerhans wrote:
> 
> On Mon, 11 May 1998, Keith Alen Vance wrote:
> 
> > When I run startx I get the following:
> >
> > xauth: can't load library 'libXmu.so.6'
> > xinit: can't load library 'libXmu.so.6'
> 
> This particular problem should disappear if you issue the following
> command before running startx:
> 
> export LD_LIBRARY_PATH="/usr/X11R6/lib:$LD_LIBRARY_PATH"
> (if using bash or sh as your shell)
> setenv LD_LIBRARY_PATH /usr/X11R6/lib:$LD_LIBRARY_PATH
> (if using csh or tcsh)
> 
> libXmu.so is a shared object.  It contains pre-compiled source code that
> applications (startx, in this case) can link with.  It's similar to the
> concept of a .dll in dos/windows.  In a standard debian installation,
> libXmu.so lives in /usr/X11R6/lib, so by setting the LD_LIBRARY_PATH to
> point to that location, you're telling your apps to look in that location
> for shared objects.

That's assuming that libXmu.so.6 has actually been installed.  If not,
you'll need to install the xlib6g package.

BTW, you shouldn't have to do the LD_LIBRARY_PATH trick if your ld.so
(the dynamic loader) is properly configured.  Check the file
/etc/ld.so.conf to see if it includes a line with "/usr/X11R6/lib".  If
not, then add it and run ldconfig, which will point ld.so to the right
place.

Noel
-- 
You're a good example of why some animals eat their young.
		-- Jim Samuels to a heckler

Ah, yes.  I remember my first beer.
		-- Steve Martin to a heckler

When your IQ rises to 28, sell.
		-- Professor Irwin Corey to a heckler


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: