

checking whether cross-compiling... yes
then your compiler seems to be producing code which cannot be executed. You could be using a very old compiler or some (shared) libraries could not be located. It has been reported that some GNU C++ installations install shared libraries in non-standard places (e.g. "/opt/gnu/lib") and that environment variables must be set before the compiler can be used (e.g. the LD_LIBRARY_PATH environment variable).