reassign 609882 bash thanks It looks like the commmand-not-found handler won't work here: $ function command_not_found_handle { echo handled; } $ export PATH=.:$PATH $ lmutilfoo handled $ lmutil bash: ./lmutil: No such file or directory
The program is there, on the path, but the interpretor required doesn't exist. Yes, ld-linux doesn't seem to be involved: $ strace -e execve -f sh -c ./lmutil execve("/bin/sh", ["sh", "-c", "./lmutil"], [/* 55 vars */]) = 0 Process 14084 attached [pid 14084] execve("./lmutil", ["./lmutil"], [/* 55 vars */]) = -1 ENOENT (No such file or directory) sh: ./lmutil: not found Process 14084 detached --- SIGCHLD (Child exited) @ 0 (0) --- It's rare for ELFs to require missing interpretors, so this is rather a special case... shell_execve (execute_cmd.c) does check for missing interpretors for scripts (with shebangs) but not for ELFs $ cat > testscript #!/bin/foobarbaz $ chmod +x testscript $ testscript bash: ./testscript: /bin/foobarbaz: bad interpreter: No such file or directory Now, *that* gives a more useful error, maybe something to aim for. SR -- Stefano Rivera http://tumbleweed.org.za/ H: +27 21 465 6908 C: +27 72 419 8559 UCT: x3127 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org