Subject: Re: X hassles
To: Alex <>
From: Tres Hofmeister <tres@rap.ucar.EDU>
List: macbsd-general
Date: 05/23/1995 09:31:30
Alex writes:
: I then added /usr/X11R6 to the path like the documentation said.

	As you discovered, the directory you want is /usr/X11R6/bin.

: such file or directory

	Perhaps the following will be of some assistance:

NetBSD/mac68k, X11R6, and Shared Libraries

	In order to run the shared library version of X11R6, you need
to tell (the dynamic loader) where the new shared libraries
reside.  You have at least two options.  As root:

# ldconfig /usr/X11R6/lib

	You might as well add the above to /etc/rc.local while you're
at it, so that the dynamic loader's cache will be updated at boot
time.  If for some reason you don't want to do this, you can instead
set the environment variable LD_LIBRARY_PATH to the directory.  You
don't need to be root to do this:

% setenv LD_LIBRARY_PATH /usr/X11R6/lib

	If you choose this solution, you might as well add the above to
your .cshrc, or the appropriate variation to the initialization file
for your shell of choice.

	If complains about shared library version mismatches or
undefined symbols, you need to get new shared libraries which are at
least as recent as those the X11R6 distribution was compiled against.
You can find newer libraries in a NetBSD/mac68k NetBSD-current base
set.  Try one of the following:

Re-Enabling the Up/Down Arrow Keys

	You'll probably find that the up/down arrow keys no longer work
under X11R6.  Try creating a .xmodmaprc file with the following

! .xmodmaprc  OTH 4/19/95
! Fix the Macintosh "Up" and "Down" keys.
keysym 0xffe8 = Up
keysym 0xffe4 = Down

	...and adding the following to your .xinitrc file:

xmodmap .xmodmaprc

Tres Hofmeister                       Research Applications Program         National Center for Atmospheric Research