Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2010 10:17:09 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        rc@freebsd.org
Subject:   Time to make /usr/lib/aout optional
Message-ID:  <20100927.101709.343708041324879547.imp@bsdimp.com>

next in thread | raw e-mail | index | archive | help
I think its time to make /usr/lib/aout optional.  The only thing that
depends on it is /etc/rc.d/ldconfig.  I think the following patch will
make it optional.

Comments?

Index: ldconfig
===================================================================
--- ldconfig	(revision 213200)
+++ ldconfig	(working copy)
@@ -66,8 +66,8 @@
 		i386)
 			# Default the a.out ldconfig path.
 			: ${ldconfig_paths_aout=${ldconfig_paths}}
-			_LDC=/usr/lib/aout
-			for i in ${ldconfig_paths_aout} /etc/ld.so.conf; do
+			_LDC=""
+			for i in /usr/lib/aout ${ldconfig_paths_aout} /etc/ld.so.conf; do
 				if [ -r "${i}" ]; then
 					_LDC="${_LDC} ${i}"
 				fi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100927.101709.343708041324879547.imp>