From owner-freebsd-questions@FreeBSD.ORG Thu Oct 27 18:36:24 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BF2216A420 for ; Thu, 27 Oct 2005 18:36:24 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: from smtpout1.ywave.com (ycomradius.yelmtel.com [216.227.100.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 5E01243D64 for ; Thu, 27 Oct 2005 18:36:20 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: (qmail 12966 invoked by uid 502); 27 Oct 2005 18:36:19 -0000 Received: from dsl28217.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.115.217) by 0 with SMTP; 27 Oct 2005 18:36:19 -0000 X-CLIENT-IP: 216.227.115.217 X-CLIENT-HOST: dsl28217.ywave.com Message-ID: <43611E22.5030408@ywave.com> Date: Thu, 27 Oct 2005 11:36:18 -0700 From: Micah User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050930) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Will Maier References: <17247.39311.203645.265116@jerusalem.litteratus.org> <200510262115.48144.krinklyfig@comcast.net> <4360DB59.7010900@ywave.com> <20051027154408.GS29508@localdomain> In-Reply-To: <20051027154408.GS29508@localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Which version of FreeBSD a binary was compiled for? 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: Thu, 27 Oct 2005 18:36:24 -0000 Will Maier wrote: > On Thu, Oct 27, 2005 at 06:51:21AM -0700, Micah wrote: > >>I have a 5.4 system, /do/ go into single user when upgrading, and >>file does /not/ report FreeBSD version. I get the same output you >>do. It would be nice to know why this works on some systems and >>not on others. > > > Consider diff'ing the /usr/share/misc/magic file from a system that > works and a system that doesn't work. I'd expect the difference to > be evident there. > > It works find on all my machines, though. > Didn't think to check this until /after/ I started to make lunch. :) I copied ethereal from the working machine to the non-working machine. Using file on the copied ethereal gives me: trisha% file ethereal ethereal: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.4, dynamically linked (uses shared libs), stripped Conversly coping ethereal from the broken machine to the working machine I get: alexis% file ethereal ethereal: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), stripped In other words, it's not file that broken, but /every/ executable on the broken machine is broken. Now why would that be? A compiler flag or something? Later, Micah