From owner-freebsd-stable@FreeBSD.ORG Thu Aug 14 08:13:09 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA2BF1065670 for ; Thu, 14 Aug 2008 08:13:09 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id B678A8FC2D for ; Thu, 14 Aug 2008 08:13:09 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id A458B1CC0BD; Thu, 14 Aug 2008 01:13:09 -0700 (PDT) Date: Thu, 14 Aug 2008 01:13:09 -0700 From: Jeremy Chadwick To: Morgan =?iso-8859-1?Q?Wesstr=F6m?= Message-ID: <20080814081309.GA8249@eos.sc1.parodius.com> References: <48A3E29D.3090504@pp.dyndns.biz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48A3E29D.3090504@pp.dyndns.biz> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: Removing /usr/lib32 on AMD64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 08:13:09 -0000 On Thu, Aug 14, 2008 at 09:45:33AM +0200, Morgan Wesström wrote: > Hi. > > Looking through man src.conf I found the knob WITHOUT_LIB32 and > recompiled my world with it since I have no use for 32-bit compatibility > on my AMD64. After installworld I realized that /usr/lib32 was still > there and still populated. Searching for information I found this > bugreport: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=117191&cat= > > Judging from that report and the fact that the dates on the files in > /usr/lib32 wasn't updated I figured it was ok to simply remove them. I > just want to make sure there's nothing else I have to do to cleanly > remove 32-bit compatibility? I can see during boot that there is still > some reference to 32-bit compatibility. The following message flashes by > on the screen: > > ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib > /usr/local/lib/mysql > 32-bit compatibility ldconfig path: > > I can track the last row to /etc/rc.d/ldconfig but can't figure out if > that script can take any options in /etc/rc.conf to stop looking for > 32-bit libraries. There are no error messages what I can see so > everything is probably ok, just want to make absolutely sure. Anyone who > can share some insight on this? What you've documented above is the Correct Way(tm) to remove lib32 support. Though I advocate people not install it in the first place, unless they absolutely need it. The message from /etc/rc.d/ldconfig you see there about 32-bit compatibility ldconfig path is fine -- it shows an empty path, which is correct. Nothing to worry about there. My systems, which have never had lib32 ever, show the same: ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/mysql 32-bit compatibility ldconfig path: -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |