Hi,
 
    I have the following strange problem.  When I try to run ./form2, it said command not found. According to
permission, I should be able to run it as user "zli" even the executable belong to user "kirill".  When I run the program as root, I got bad ELF interpreter. This is probably due to older version of ld. I will probably need to recompile form2 to correct this program.
 
[zli@theory kirill]$ file form2
form2: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
[zli@theory kirill]$ file form3
form3: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped
[zli@theory kirill]$ ./form2
./form2: Command not found.
[zli@theory kirill]$ ./form3
./form3: Permission denied.
[zli@theory kirill]$ ls -lu form*
-rwxr-xr-x    1 kirill   theory     347248 Nov 27 11:19 form2
-rwxr--r--    1 kirill   theory    1080328 Nov 27 11:19 form3
[zli@theory kirill]$ uname -a
Linux theory 2.4.18-18.8.0smp #1 SMP Wed Nov 13 23:11:20 EST 2002 i686 i686 i386 GNU/Linux
[root@theory kirill]# ./form2
-bash: ./form2: /lib/ld-linux.so.1: bad ELF interpreter: No such file or directory
[root@theory kirill]# ./form3
=== No filename specified in call of FORM
[root@theory kirill]# ls -l /lib/ld*
-rwxr-xr-x    1 root     root        87341 Sep  6 08:55 /lib/ld-2.2.93.so
lrwxrwxrwx    1 root     root           12 Nov 22 23:56 /lib/ld-linux.so.2 -> ld-2.2.93.so
any ideas why I got "Command not found" when I run ./form2?  Thanks.
 
Ze

Reply via email to