From owner-freebsd-current@FreeBSD.ORG Tue Nov 29 09:08:10 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A560A1065670 for ; Tue, 29 Nov 2011 09:08:10 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 5B73C8FC08 for ; Tue, 29 Nov 2011 09:08:10 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1RVJfC-00015F-Bb; Tue, 29 Nov 2011 09:07:52 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1RVJeY-000273-Gn; Tue, 29 Nov 2011 09:07:02 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id pAT972bW069592; Tue, 29 Nov 2011 09:07:02 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id pAT972Rr069591; Tue, 29 Nov 2011 09:07:02 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 29 Nov 2011 09:07:02 +0000 From: Anton Shterenlikht To: Garrett Cooper Message-ID: <20111129090702.GA69561@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Garrett Cooper , Johan Hendriks , allan@stokes.ca, freebsd-current@freebsd.org References: <0168ab7579589d8d866ce8ff93544f1f.squirrel@sm.webmail.pair.com> <4ED49CA4.6000502@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Johan Hendriks , allan@stokes.ca, freebsd-current@freebsd.org Subject: Re: upgrade issue 8.x to 9.0-RC2: libz.so.5 not found X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2011 09:08:10 -0000 On Tue, Nov 29, 2011 at 12:54:33AM -0800, Garrett Cooper wrote: > On Tue, Nov 29, 2011 at 12:49 AM, Johan Hendriks wrote: > > allan@stokes.ca schreef: > >> > >> However, programs such as startx and portupgrade are failing with the > >> message "libz.so.5 not found".  I know I can fix this with an evil > >> symlink, but that doesn't seem right, and what else is broken?  Is there > >> not a facility in portupgrade to scan my live dependencies and warn me of > >> breakage?  I have not encountered such a beast in my gleanings to date. > > > > What you probably did is make delete-old-libs. > > This deletes the old 8.x libs that where used by your ports. > > What you need to do is rebuild all your ports. > > > > That way they get linked to the proper libs again. > > > > The next time when you go from one major to another major number eg from 7 > > to 8 or from 8 to 9 and so on, is to do the make delete-old-libs step later. > > Then after upgrading, rebuild all your ports, they still work with the old > > libs. > > Once the ports are rebuild against the newer libs then do the make > > delete-old-libs step. > > > > This is not nessacery when going from a minor number to amother minor > > number. eg from 8.1 to 8.2 and so on. > > In general yes.. but there have been occasions when this was > required with libz... I use sisutils/libchk: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/make-delete-old.html -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423