[ALUG] executable script gives error "file not found"
Brett Parker
iDunno at sommitrealweird.co.uk
Tue Nov 28 12:12:48 GMT 2006
On Tue, Nov 28, 2006 at 12:05:07PM +0000, Jenny Hopkins wrote:
> On 28/11/06, Jonathan McDowell <noodles at earth.li> wrote:
>
> >What do "file /home/balloon/bin/balloon-audio-off" and "ldd
> >/home/balloon/bin/balloon-audio-off" and "uname -a" say? I suspect your
> >issue is that you're trying to run an i386 binary on an amd64 machine in
> >64bit mode and that won't work unless you're running it in a chroot
> >AIUI.
> >
>
> Jonathan: Thanks, I think you may suspect correct:
>
> balloon at capirossi:~/bin$ file balloon-audio-off
> balloon-audio-off: setuid setgid ELF 32-bit LSB executable, Intel
> 80386, version 1 (SYSV), for GNU/Linux 2.0.30, dynamically linked
> (uses shared libs), not stripped
> balloon at capirossi:~/bin$ ldd balloon-audio-off
> /usr/bin/ldd: line 1: /lib/ld-linux.so.2: No such file or directory
> ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)
> balloon at capirossi:~/bin$ uname -a
> Linux capirossi 2.6.16-2-amd64-k8 #2 Fri Jun 2 17:23:35 UTC 2006
> x86_64 GNU/Linux
> balloon at capirossi:~/bin$
>
>
> Many many thanks.
> I'll have a look about for docs on this chroot AIUI you speak of.
> And contact the author in case there is something he can do with the
> compilation.
Orrrrrrr...
apt-get install ia32-libs
Should weork for that case, assuming that doesn't use any other
libraries.
HTH, HAND.
--
Brett Parker
More information about the main
mailing list