From owner-freebsd-amd64@FreeBSD.ORG Sat Sep 24 13:53:32 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7451516A41F; Sat, 24 Sep 2005 13:53:32 +0000 (GMT) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (omega.nanophys.kth.se [130.237.35.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBE6E43D48; Sat, 24 Sep 2005 13:53:31 +0000 (GMT) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (localhost [127.0.0.1]) by omega.nanophys.kth.se (8.13.4/8.13.1) with ESMTP id j8ODrXaH018454; Sat, 24 Sep 2005 15:53:33 +0200 (CEST) (envelope-from kono@kth.se) Received: from localhost (localhost [[UNIX: localhost]]) by omega.nanophys.kth.se (8.13.4/8.13.1/Submit) id j8ODrX12018453; Sat, 24 Sep 2005 15:53:33 +0200 (CEST) (envelope-from kono@kth.se) X-Authentication-Warning: omega.nanophys.kth.se: kono set sender to kono@kth.se using -f From: Alexander Konovalenko Organization: KTH To: Peter Wemm Date: Sat, 24 Sep 2005 15:53:32 +0200 User-Agent: KMail/1.8.2 References: <200509231329.25318.kono@kth.se> <200509240013.14601.kono@kth.se> <200509231644.04077.peter@wemm.org> In-Reply-To: <200509231644.04077.peter@wemm.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509241553.33070.kono@kth.se> Cc: Scot Hetzel , freebsd-ports@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: squidtimes: Exec format error. Binary file not executable. X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kono@kth.se List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2005 13:53:32 -0000 On Saturday 24 September 2005 01.44, Peter Wemm wrote: > On Friday 23 September 2005 03:13 pm, Alexander Konovalenko wrote: > > On Friday 23 September 2005 23.52, Scot Hetzel wrote: > > > On 9/23/05, Alexander Konovalenko wrote: > > > > squidtimes does not work on amd64, when I am trying to run it I > > > > get following message: > > > > > > > > /usr/local/bin/squidtimes: Exec format error. Binary file not > > > > executable. > > > > > > > > I tried to install it as port and package, but neither work. > > > > > > Does the file have the execute bit set? If not, you'll need to: > > > > > > chmod +x /usr/local/bin/squidtimes > > > > > > If that is the problem, you'll need to report the problem to the > > > port maintainer so he can fix it. > > > > > > Scot > > > -- > > > DISCLAIMER: > > > No electrons were mamed while sending this message. Only slightly > > > bruised. > > > > yeap, it has the execute bit set: > > > > ls -l /usr/local/bin/squidtimes > > -r-xr-xr-x 1 root wheel 65265 Apr 25 12:04 > > /usr/local/bin/squidtimes > > And what does /usr/bin/file say about it? Is there any chance its a 32 > bit binary or a linux binary and you don't have the kernel support > present (or the 32 bit libraries and ld-elf32.so.1?). Anyway, its a > shot in the dark, but please check. :-) file /usr/local/bin/squidtimes /usr/local/bin/squidtimes: FreeBSD/i386 compact demand paged dynamically linked executable not stripped ldd /usr/local/bin/squidtimes /usr/local/bin/squidtimes: ldd: /usr/local/bin/squidtimes: Exec format error /usr/local/bin/squidtimes: exit status 1 I have kernel support for Linux and 32 bits binaries, other Linux ports such as linux-firefox, Matlab etc. work fine. Here you can download faulty binary file: http://daemon.nanophys.kth.se/~kono/squidtimes /Alexander Konovalenko