[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#849280: say 'incompatible binary version', not "not found"



Package: src:linux
Version: 4.8.11-1
Severity: wishlist

Please give a more correct message, like 'incompatible binary version'.
Returning a not found error to shells is just plain misleading.

$ set who who2
$ for i in 'ls -l ' 'file ' './'; do $i$1; $i$2; done
-rwxr-xr-x 1 jidanni jidanni 51092 12-09 22:08 who
-rwxr-xr-x 1 jidanni jidanni 52168 12-09 22:08 who2
who: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=91f94a82b58bc7a63525c4ff35e43f9dbbe29caa, stripped
who2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=2d07a0c30c834741b64bda8289fa557fa1e1a876, stripped
bash: ./who: No such file or directory
jidanni  pts/0        2016-12-24 18:02 (:0)
$ uname -r
4.8.0-2-amd64
$ ./wwww #same messages as when something that really isn't there:
bash: ./wwww: No such file or directory
$ ./who
dash: 2: ./who: not found


Reply to: