/lib/ld-linux.so.3 not found

hi,

I’m trying to run a simple “hello world” arm elf file using QEMU.

when I issue the following command

qemu-arm ./test.elf

“test is my output file name”

I’m getting the following error.

/lib/ld-linux.so.3: No such file or directory

can anyone help me???

Hi there,

Did you build this for arm on this system? (Most likely not if you are getting the above.)

It looks to me like the binary was built using a different version of glibc?

Try ldd on test.elf and let’s see what all it is linked against.

What version of /lib/ld-linux.so and glibc do you have?

me@callandor:~> rpm -qf /lib/ld-linux.so.2
glibc-32bit-2.11.2-3.3.1.x86_64

Since your didn’t mention your distro version, here’s a pbone search

RPM Search ld-linux.so.3

HTH,
Tony