From owner-freebsd-questions@FreeBSD.ORG Sun Jul 18 20:42:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BB86106566B for ; Sun, 18 Jul 2010 20:42:35 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.50]) by mx1.freebsd.org (Postfix) with ESMTP id 621138FC13 for ; Sun, 18 Jul 2010 20:42:35 +0000 (UTC) Received: (qmail 2438 invoked from network); 18 Jul 2010 20:42:34 -0000 Received: from dsl081-163-112.sea1.dsl.speakeasy.net (HELO ringbill.gull.us) ([64.81.163.112]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 18 Jul 2010 20:42:34 -0000 Received: from alphonse ([192.168.10.9] helo=alphonse.gull.us) by ringbill.gull.us with esmtpa (Exim 4.71 (FreeBSD)) (envelope-from ) id 1Oaagv-0000Os-0B for freebsd-questions@freebsd.org; Sun, 18 Jul 2010 13:42:29 -0700 Message-Id: From: David Brodbeck To: FreeBSD Questions In-Reply-To: <6341639666e4d0c65cd1b29a89e64beb.squirrel@www.gull.us> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) X-Priority: 3 (Normal) Date: Sun, 18 Jul 2010 13:42:30 -0700 References: <80AD3593-1170-4346-A4EE-4274085D6570@gull.us> <001501cb1db5$b3db2240$1b9166c0$@wakefield.sch.uk> <6341639666e4d0c65cd1b29a89e64beb.squirrel@www.gull.us> X-Mailer: Apple Mail (2.936) Subject: Re: Samba gives "invalid PT_PHDR" after upgrading from 7.2-RELEASE to 7.3-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2010 20:42:35 -0000 On Jul 7, 2010, at 10:12 AM, David Brodbeck wrote: > On Wed, July 7, 2010 2:20 am, mcoyles wrote: >>> Today I tried using "portupgrade -R -f samba34" to rebuild samba >>> and all >>> of its dependencies, but I'm still getting the same error. I'm a >>> little >>> surprised that a minor version upgrade broke this so thoroughly. >>> I went >>> back over the release notes to see if I missed any obvious caveats >>> about >>> upgrading, but if I did, I'm not seeing it. >> >> David - have a look here... >> http://lists.freebsd.org/pipermail/freebsd-current/2010-April/016405.html > > OK, I see. It looks like rtld is part of world, not a port, so then > the > question becomes, why didn't freebsd-update update it for me? Is > there a > way I can force a binary upgrade, or do I need to download the > source and > rebuild things that way? I ended up downloading the 7.3 livefs ISO, booting off of it, and replacing /libexec/ld-elf.so.1 with the one from the CD. That fixed the problem. I suspect the reason freebsd-update didn't upgrade it properly is it appears it's impossible to replace this file on a running system, even in single-user mode. Maybe there should be something in the release notes about a 7.2 -> 7.3 upgrade being impossible to do properly except by booting from CD?