Subject: Trouble getting X-Win up! (Part II)
To: None <port-mac68k@NetBSD.ORG>
From: BGW <f94bw@efd.lth.se>
List: port-mac68k
Date: 10/25/1997 01:32:31
Still I haven't been able to get X-windows running. The problem I have
is described in the FAQ, namely....



------------------------------------------------------------------
9.4 When I type startx I get the message: xinit: libXmu.so.6.3 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 modify var/run/ld.so.hints using ldconfig.

If you have the new-style (i.e. post-1.2) configuration files, you can
edit /etc/ld.so.conf to contain the following line: 

        /usr/X11R6/lib

If you are using the older method, you should edit /etc/rc.local to
contain a line similar to the following: 

       #
       # Build the link-editor fast directory cache.
       #
       echo "adding X libraries to the runtime link editor directory
cache."
       ldconfig -m /usr/X11R6/lib
------------------------------------------------------------------

First of all, I cant edit /etc/ld.so.conf because there is none. OK,
lets go for editing /etc/rc.local instead using 'ed'. Done!! Having
tried to use 'ldconfig' in various ways. None seems to work, probably
because I dont exactly know what 'ldconfig' will do, except writing
useful information to ld.so.hints. How shall I use it exactly? Any other
hints? Feels like Im doing this harder than it really is :(

/Bo