ldd: not a dynamic executable
I'm struggling to understand what's going on with compilation in a specific machine. When I compile this cutting edge software application:
gcc -o hello hello.c
I get "not a dynamic executable". Although
hello: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
ls -l hello
-rwxrwxr-x 1 stefano stefano 6465 Oct 17 22:42 hello
gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Does anyone have any suggestion?
Linux benny 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux