Subject: xorg and shared libraries
To: None <netbsd-users@netbsd.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 01/06/2005 21:04:57
I just set up a machine with only xorg.  That is, I didn't install any 
of the X packages from the distribution.  (Well, the CD I built; it's 
-current from yesterday.)  I then built xorg from source.  When I try 
to run anything -- including such things as xterm -- it tells me that 
it can't find things like libX11.so.6.

I can bypass the problem by creating a symlink X11R6 that points to pkg/xorg.
Apart from that being ugly, when I install new distributions (this 
machine does run -current) it will remove that symlink and create a 
dummy tree.  Is there any clean way around the problem?

		--Prof. Steven M. Bellovin, http://www.cs.columbia.edu/~smb