Subject: Install X
To: NetBSD <port-mac68k@NetBSD.ORG>
From: Jon Hui <always@hknet.com>
List: port-mac68k
Date: 08/02/1996 03:25:44
I've just installed X, but can't get it to work. And I get the follwing 
info on how to run it. Can anyone tell me how to do the following? TIA.

>9.4 When I type startx I get the message: xinit: libXmu.so.6.0 not found.
>What's wrong?
>
>The reason you are having trouble is that you have not made the dynamic link
>editor aware that the X libraries exist. To do so you need to either:
>
>  1. set your library environment variable like so:
>
>     setenv LD_LIBRARY_PATH /usr/lib/X11 (or wherever the libs are)
>
>  2. do it the right way by adding the following to your /etc/rc file:
>
>     if [-f /var/run/ld.so.hints]; then
>             # remove the linkage editor cache in case it is corrupted
>             rm -f /var/run/ld.so.hints
>     fi
>
>     Also add this to /etc/rc.local:
>
>     #
>     # Build the link-editor fast directory cache.
>     #
>     ldconfig /usr/lib/X11; echo "link-editor directory cache"

-Jon