From owner-freebsd-questions@FreeBSD.ORG Thu Oct 27 08:16:42 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 A7CC116A41F for ; Thu, 27 Oct 2005 08:16:42 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2997A43D45 for ; Thu, 27 Oct 2005 08:16:42 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so242921nzo for ; Thu, 27 Oct 2005 01:16:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=S6Uhex8h1aWIm3VAVgoSky9GTHuepqrmzHx3qPL7CjeE+89+vyTt5gA9/LXNIAhycYIGG+AJ4LsepmZ9xdMf8IKMtcwCax0mMWfJ2OPQsWKQNKxOrCixkfQ+wVjN9LIGKfYf6oXHiu+bpdYk67ZtCwDSdzR0faZ/TkdUdH5L2YY= Received: by 10.36.74.8 with SMTP id w8mr857361nza; Thu, 27 Oct 2005 01:16:41 -0700 (PDT) Received: by 10.37.20.34 with HTTP; Thu, 27 Oct 2005 01:16:41 -0700 (PDT) Message-ID: Date: Thu, 27 Oct 2005 12:16:41 +0400 From: "Andrew P." To: Joshua Tinnin In-Reply-To: <200510262115.48144.krinklyfig@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <17247.39311.203645.265116@jerusalem.litteratus.org> <200510262115.48144.krinklyfig@comcast.net> Cc: Robert Huff , 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 08:16:42 -0000 On 10/27/05, Joshua Tinnin wrote: > On Wed 26 Oct 05 09:18, "Andrew P." wrote: > > On 10/26/05, Robert Huff wrote: > > > Andrew P. writes: > > > > > file /usr/bin/man > > > > > > > > > > on my machine outputs: > > > > > > > > > > /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version > > > > > 1 (FreeBSD), for FreeBSD 5.4-CURRENT (rev 3), dynamically > > > > > linked (uses shared libs), stripped > > > > > > > > Oh, it's just that file hasn't leared anything about > > > > FreeBSD 6 yet, so it doesn't display version info > > > > when run against my binaries. > > > > > > Curious. > > > > > > huff@> file /usr/bin/man > > > /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1 > > > (FreeBSD), for FreeBSD 7.0 (700003), dynamically linked (uses > > > shared libs), stripped huff@> > > > > I tried both versions of file (base system and ports) > > on 6.0 RC1, none showed any info about that > > /usr/bin/man (or any other system binary I tried). > > > > On my firewall (5.4) it works. > > That's odd. Am on 6.0-RC1: > > # uname -a > FreeBSD smogmonster.local 6.0-RC1 FreeBSD 6.0-RC1 #0: Thu Oct 20 > 14:41:23 MDT 2005 > krinklyfig@smogmonster.local:/usr/obj/usr/src/sys/MYKERNEL60 i386 > > % file /usr/bin/xargs > /usr/bin/xargs: ELF 32-bit LSB executable, Intel 80386, version 1 > (FreeBSD), for FreeBSD 6.0 (600034), dynamically linked (uses shared > libs), stripped > > % file /usr/bin/man > /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1 > (FreeBSD), for FreeBSD 6.0 (600034), dynamically linked (uses shared > libs), stripped > > % file /bin/echo > /bin/echo: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), > for FreeBSD 6.0 (600034), dynamically linked (uses shared libs), > stripped > > > I know I built valgrind just a few days ago: > > % file /usr/local/bin/valgrind > /usr/local/bin/valgrind: ELF 32-bit LSB executable, Intel 80386, version > 1 (FreeBSD), for FreeBSD 6.0 (600034), statically linked, stripped > > vim, too: > > % file /usr/local/bin/vim > /usr/local/bin/vim: ELF 32-bit LSB executable, Intel 80386, version 1 > (FreeBSD), for FreeBSD 6.0 (600034), dynamically linked (uses shared > libs), stripped > > > I'm not sure what it means when this information isn't accessible, but > I'd say it's symptomatic of another issue, and most likely it's not > good. If you built from source, did you follow the procedure described > in the handbook? > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > > Not sure, but are you installing kernel after building world, and then > installing world in single user? I've seen strange things happen if you > don't do this procedure the right way. Of course, I'm just guessing, as > I'm not at all sure what could be causing this problem or what your > exact circumstances are. > > - jt > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > sat64% uname -a FreeBSD sat64.net17 6.0-RC1 FreeBSD 6.0-RC1 #2: Fri Oct 14 22:57:08 MSD 200= 5 sat@sat64.net17:/usr/obj/usr/src/sys/SATCUR32 i386 sat64% file /usr/bin/xargs /usr/bin/xargs: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD)= , dyn amically linked (uses shared libs), stripped sat64% file /usr/bin/man /usr/bin/man: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), = dynam ically linked (uses shared libs), stripped sat64% file /bin/echo /bin/echo: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dyn= amica lly linked (uses shared libs), stripped sat64% file /usr/local/bin/waveplay /usr/local/bin/waveplay: ELF 32-bit LSB executable, Intel 80386, version 1 = (Free BSD), dynamically linked (uses shared libs), stripped sat64% file /usr/local/lib/oss/bin/ossplay /usr/local/lib/oss/bin/ossplay: ELF 32-bit LSB executable, Intel 80386, ver= sion 1 (FreeBSD), dynamically linked (uses shared libs), stripped sat64% /usr/local/bin/file /usr/local/lib/oss/bin/ossplay /usr/local/lib/oss/bin/ossplay: ELF 32-bit LSB executable, Intel 80386, ver= sion 1 (FreeBSD), dynamically linked (uses shared libs), stripped Maybe you're right. I never go to single-user when upgrading. But then, I'm the only user and there are not many processes. I'm not gonna worry anyway, hope it's not a rootkit :-)