From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 18:59:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 133CC48F for ; Tue, 16 Jul 2013 18:59:23 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id CCADBB6E for ; Tue, 16 Jul 2013 18:59:22 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r6GIxMa8082169; Tue, 16 Jul 2013 12:59:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r6GIxLdT082166; Tue, 16 Jul 2013 12:59:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 16 Jul 2013 12:59:21 -0600 (MDT) From: Warren Block To: Walter Hurry Subject: Re: Purpose of /usr/local/lib/compat/pkg? In-Reply-To: Message-ID: References: < 186E6FB9-693F-40EA-BC93-5FE7457097FB@mac.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 16 Jul 2013 12:59:22 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 18:59:23 -0000 On Tue, 16 Jul 2013, Walter Hurry wrote: > On Tue, 16 Jul 2013 10:05:19 -0700, Charles Swiger wrote: > >> Hi-- >> >> On Jul 16, 2013, at 9:57 AM, Walter Hurry wrote: >>> What is the purpose of /usr/local/lib/compat/pkg? >> >> It holds old versions of shared libraries which were once used by >> installed ports. >> >>> As far as I can see, in a properly organised system, all the shared >>> libraries in there should be redundant. >> >> True, assuming you've recompiled all of your ports to use the latest >> versions. However, if you ever have to roll something back, it will >> continue to work if these old shared libs are available. >> >>> If this is correct, is there an easy way to clear them out, or should I >>> just rm? >> >> If you're low on space, sure, you can just rm them. Don't bother >> otherwise... >> > Thanks. No, I'm not desperately low on space; I just like to keep things > tidy. Install the excellent sysutils/bsdadminscripts and run pkg_libchk to check for packages still depending on those libraries or missing ones. If it doesn't complain, it's safe to delete them. Otherwise, rebuild everything it complains about first.