From owner-freebsd-current@FreeBSD.ORG Mon Jul 20 18:13:35 2009 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 653CA106567E; Mon, 20 Jul 2009 18:13:35 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail2.es.net [IPv6:2001:400:107:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4B7288FC22; Mon, 20 Jul 2009 18:13:35 +0000 (UTC) (envelope-from oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id n6KIDEiN025043 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Jul 2009 11:13:14 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id DAA6C1CC0B; Mon, 20 Jul 2009 11:13:13 -0700 (PDT) To: Olivier SMEDTS In-reply-to: Your message of "Mon, 20 Jul 2009 16:29:39 +0200." <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> Date: Mon, 20 Jul 2009 11:13:13 -0700 From: "Kevin Oberman" Message-Id: <20090720181313.DAA6C1CC0B@ptavv.es.net> X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-07-20_08:2009-07-03, 2009-07-20, 2009-07-20 signatures=0 Cc: Ken Smith , freebsd-stable , Thomas Backman , FreeBSD current Subject: Re: HEADS-UP: Shared Library Versions bumped... 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: Mon, 20 Jul 2009 18:13:36 -0000 > Date: Mon, 20 Jul 2009 16:29:39 +0200 > From: Olivier SMEDTS > Sender: owner-freebsd-current@freebsd.org > > 2009/7/19 Thomas Backman : > > On Jul 19, 2009, at 20:16, Ken Smith wrote: > >> > >> The problem is that as of the next time you update a machine that had > >> been running -current you are best off reinstalling all ports or other > >> applications you have on the machine.  When you reboot after doing the > >> update to the base system everything you have installed will still work > >> because the old shared library versions will still be there.  However > >> anything you build on the machine after its base system gets updated > >> would be linked against the newer base system shared libraries but any > >> libraries that are part of ports or other applications (e.g. the Xorg > >> libraries) would have been linked against the older library versions. > >> You really don't want to leave things that way. > > > > So, to be clear: a fresh ports tree and "portupgrade -af" after building and > > installing r195767+ should be enough to solve any problems? (installkernel, > > installworld, reboot, portupgrade -af) > > But there won't be any problem until you do a "make delete-old-libs" > in /usr/src/, right ? Wrong. As soon as you start updating ports you will start getting apps which link to both old and new versions and that does not work. If you don't update any ports which provide shared libs, you are OK. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751