From owner-freebsd-current@FreeBSD.ORG Tue Nov 29 08:49:45 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 CE1971065672 for ; Tue, 29 Nov 2011 08:49:45 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5FB668FC15 for ; Tue, 29 Nov 2011 08:49:45 +0000 (UTC) Received: by eaai12 with SMTP id i12so4093531eaa.13 for ; Tue, 29 Nov 2011 00:49:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=FejyQgOPwPTECjaEHThRbE41QNZ93GtkGK3HTOjpl+w=; b=HPLizzke02ddX5vhcXgD9xNgOKA+2197D6WOcBWm3cOaXvhXtzrEdVGDLypyFPs8Fk jdNgjqTGvYje/GV5sYGTPd9PbE+1cFxllyo+ZztvmrIizB0HYlgyx9RobhSL5cdhvgAh dvY7GpqqGPKsD52d4nrS1O+hsfxNoyttQBzUk= Received: by 10.213.7.6 with SMTP id b6mr840024ebb.26.1322556584270; Tue, 29 Nov 2011 00:49:44 -0800 (PST) Received: from [192.168.50.101] (double-l.xs4all.nl. [80.126.205.144]) by mx.google.com with ESMTPS id q28sm103053595eea.6.2011.11.29.00.49.42 (version=SSLv3 cipher=OTHER); Tue, 29 Nov 2011 00:49:43 -0800 (PST) Message-ID: <4ED49CA4.6000502@gmail.com> Date: Tue, 29 Nov 2011 09:49:40 +0100 From: Johan Hendriks User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: allan@stokes.ca, freebsd-current@freebsd.org References: <0168ab7579589d8d866ce8ff93544f1f.squirrel@sm.webmail.pair.com> In-Reply-To: <0168ab7579589d8d866ce8ff93544f1f.squirrel@sm.webmail.pair.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: 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:49:45 -0000 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. Hope this helps. regards Johan Hendriks