Subject: Re: one down, one up (ldconfig on i386)
To: Jonathan Marsden <Jonathan@XC.Org>
From: Brett Lymn <blymn@baea.com.au>
List: netbsd-help
Date: 08/21/1997 16:11:41
According to Jonathan Marsden:
>
>On NetBSD/i386 (versions 1.1, 1.2, and 1.2.1), the supplied
>/etc/rc.local contains:
>
>      if [ -f /sbin/ldconfig ]; then
>	echo 'creating runtime link editor directory cache.'
>	ldconfig
>      fi 
>
>so that libs are supposed to be ldconfig'ed every time the machine is
>booted.  That way, the sysadmin doesn't normally have to think about
>this stuff.
>

Ahhhh you need to add another ldconfig line:

      if [ -f /sbin/ldconfig ]; then
	echo 'creating runtime link editor directory cache.'
	ldconfig
	ldconfig /usr/X11R6/lib
      fi 

To do the X libraries - this works fine for me....

-- 
Brett Lymn, Computer Systems Administrator, British Aerospace Australia
===============================================================================
  What do you get when you cross a cantaloup with a dog?        Melancholy :-P