Thanks, I install ia32-lib and now it works, but what a poor error message. To bad i would at least tell you what file wasn't found.
-- Wink
On Sun, Feb 10, 2013 at 3:23 AM, Mans Rullgard mans.rullgard@linaro.orgwrote:
On 10 February 2013 04:36, Wink Saville wink@saville.com wrote:
I downloaded the aarch64 binaries to a ubuntu machine:
wink@ssi-primary:~$ uname -a Linux ssi-primary 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59
UTC
2012 x86_64 x86_64 x86_64 GNU/Linux
And when I try to run gcc-4.7.3:
wink@ssi-primary:~$ ls -al
~/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3
-rwxr-xr-x 1 wink wink 553068 Oct 18 14:21
/home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3
I get a file not found:
wink@ssi-primary:~$ strace
/home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3
-v
execve("/home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3",
["/home/wink/aarch64-toolchain/gcc"..., "-v"], [/* 19 vars */]) = -1 ENOENT (No such file or directory)
This error usually means the executable is requesting a non-existent "interpreter" (dynamic loader). You need to install the 32-bit compat lib package. I don't remember what it's called on ubuntu, probably ia32-libs or similar.
-- Mans Rullgard / mru