Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2005 15:53:32 +0200
From:      Alexander Konovalenko <kono@kth.se>
To:        Peter Wemm <peter@wemm.org>
Cc:        Scot Hetzel <swhetzel@gmail.com>, freebsd-ports@freebsd.org, freebsd-amd64@freebsd.org
Subject:   Re: squidtimes: Exec format error. Binary file not executable.
Message-ID:  <200509241553.33070.kono@kth.se>
In-Reply-To: <200509231644.04077.peter@wemm.org>
References:  <200509231329.25318.kono@kth.se> <200509240013.14601.kono@kth.se> <200509231644.04077.peter@wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kono@kth.se> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509241553.33070.kono>