From owner-freebsd-current@FreeBSD.ORG Tue Nov 29 08:54:34 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 CEC7D106564A for ; Tue, 29 Nov 2011 08:54:34 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8FC988FC17 for ; Tue, 29 Nov 2011 08:54:34 +0000 (UTC) Received: by ywp17 with SMTP id 17so6663414ywp.13 for ; Tue, 29 Nov 2011 00:54:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=jbjZXDp4bJLKlWj2mHjWNuq8TOha8qN0onavK/hJJAg=; b=ExR+30Oq2WljV4Kzsq5T5mgNPyCtQ+mEfBHVuHYQzyalln5YoPDa3rLlCeDRxVnJlx qb0T9CSDvXCEIFtY9YaQP9O/710Z0HqWjblFaH2OO4eBY9aM0BQAdGu1bpg5NfoT9YGn P75H5674xyolceb7BxIHQRwbF/ey9os6DheEQ= MIME-Version: 1.0 Received: by 10.182.5.166 with SMTP id t6mr3047459obt.2.1322556873841; Tue, 29 Nov 2011 00:54:33 -0800 (PST) Received: by 10.182.62.227 with HTTP; Tue, 29 Nov 2011 00:54:33 -0800 (PST) In-Reply-To: <4ED49CA4.6000502@gmail.com> References: <0168ab7579589d8d866ce8ff93544f1f.squirrel@sm.webmail.pair.com> <4ED49CA4.6000502@gmail.com> Date: Tue, 29 Nov 2011 00:54:33 -0800 Message-ID: From: Garrett Cooper To: Johan Hendriks Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: 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 08:54:34 -0000 On Tue, Nov 29, 2011 at 12:49 AM, Johan Hendriks w= rote: > allan@stokes.ca schreef: >> >> However, programs such as startx and portupgrade are failing with the >> message "libz.so.5 not found". =A0I know I can fix this with an evil >> symlink, but that doesn't seem right, and what else is broken? =A0Is the= re >> not a facility in portupgrade to scan my live dependencies and warn me o= f >> breakage? =A0I 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 lat= er. > Then after upgrading, rebuild all your ports, they still work with the ol= d > 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... Cheers, -Garrett