On Sep 17, 2009, at 9:53 AM, ext ravi swami wrote:

Hi,
i am using sb2. i compiled a hello-world program with sb2 for ARM target. but when i run it its giving error
[SB2 simple ARM] ravi...@demon ~ $ ./ha
/lib/ld-linux.so.3: No such file or directory

i've installed qemu too and qemu-arm is present in my sb2/bin folder.

how this can be solved? how can we run a binary on qemu?

This typically happens when you don't have a valid "target_root" (also called a "rootstrap"); there you should have a valid, complete directory structure which contains libraries etc. that are related to your target system (including the dynamic linker, "/lib/ld-linux.so.3").

Location of "target_root" is determined when "sb2-init" is executed to create the target: It must be executed in the directory which will be used as target_root (when executed without any parameters, "sb2-init" will show names of initialized targets together with all parameters and target_root locations).

If you accidentally run "sb2-init" in a wrong directory, or for example in an empty directory, a target will still be created...but this is a feature, not a bug.

        Lauri

_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to