From owner-freebsd-current Fri Nov 22 20: 3:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7468937B401 for ; Fri, 22 Nov 2002 20:03:22 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5377643E9C for ; Fri, 22 Nov 2002 20:03:21 -0800 (PST) (envelope-from keramida@freebsd.org) Received: from gothmog.gr (patr530-b192.otenet.gr [212.205.244.200]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gAN43IU6000084 for ; Sat, 23 Nov 2002 06:03:19 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id gAN43HA5022758 for ; Sat, 23 Nov 2002 06:03:17 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id gAN43HoR022752 for current@freebsd.org; Sat, 23 Nov 2002 06:03:17 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Sat, 23 Nov 2002 06:03:17 +0200 From: Giorgos Keramidas To: current@freebsd.org Subject: installworld and stale {include,lib} fun Message-ID: <20021123040317.GA4320@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I tried to get myself a clean /usr/{include,lib} installation after a successful buildworld earlier. To make this as clean an installation as possible, I did the following before running "make installworld": # cd /usr # mv include include.old # mkdir include # cd include ; mtree -deU < /usr/src/etc/mtree/BSD.include.dist # mv lib lib.old # ldconfig -elf /usr/lib.old Then, after installworld finished alright, I rebooted the single-user mode session I was running and noticed that a few of the ports I had installed were broken :) Apparently editors/vim-lite had picked up an old, obsolete libposix*.so from one of the past installations and linked against that. Deleting the port and reinstalling it worked like a charm, which made me think a bit... Should we recommend in UPDATING that source upgrades include something similar? Well, maybe not all the time (since ports can break like vim did for me), but at least under a "making your /usr as clean as possible" paragraph? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message