From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 06:27:22 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 64A6B106566B for ; Wed, 7 Jul 2010 06:27:22 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3C0AD8FC08 for ; Wed, 7 Jul 2010 06:27:22 +0000 (UTC) Received: (qmail 9147 invoked from network); 7 Jul 2010 06:27:20 -0000 Received: from dsl081-163-112.sea1.dsl.speakeasy.net (HELO ringbill.gull.us) ([64.81.163.112]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 7 Jul 2010 06:27:20 -0000 Received: from localhost ([127.0.0.1] helo=www.gull.us) by ringbill.gull.us with esmtp (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OWO6J-0007dW-39; Tue, 06 Jul 2010 23:27:19 -0700 Received: from crow ([192.168.10.14]) (SquirrelMail authenticated user gull) by www.gull.us with HTTP; Tue, 6 Jul 2010 23:27:19 -0700 Message-ID: In-Reply-To: <80AD3593-1170-4346-A4EE-4274085D6570@gull.us> References: <80AD3593-1170-4346-A4EE-4274085D6570@gull.us> Date: Tue, 6 Jul 2010 23:27:19 -0700 From: "David Brodbeck" To: "David Brodbeck" User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org 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: Wed, 07 Jul 2010 06:27:22 -0000 On Sat, July 3, 2010 2:49 pm, David Brodbeck wrote: > Today I upgraded my system from FreeBSD 7.2-RELEASE to FreeBSD 7.3- > RELEASE using freebsd-update. Samba no longer runs. I get the > following error messages: > > Starting nmbd. > /libexec/ld-elf.so.1: /usr/local/sbin/nmbd: invalid PT_PHDR > Starting smbd. > /libexec/ld-elf.so.1: /usr/local/sbin/smbd: invalid PT_PHDR > > My upgrade sequence was to run 'freebsd-update upgrade -r 7.3-RELEASE' > and 'freebsd-update install', followed by a reboot, then 'freebsd- > update install' again, followed by a second reboot. > > I tried rebuilding the Samba port, thinking maybe it was an ABI > change, but it still doesn't work. Can someone point me in the right > direction? 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.