Running foreign architecture binaries should be handle more gracefully
Bug #153853 reported by
Ketil Malde
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zsh (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
I have some old 386 binaries I'd like to run on my 64-bit system.
Some (in particular, statically linked binaries "for GNU/Linux 2.6.0") work, some don't.
This one fails:
% utils/pwd/pwd
zsh: no such file or directory: utils/pwd/pwd
% file utils/pwd/pwd
utils/pwd/pwd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
% ldd utils/pwd/pwd
not a dynamic executable
Not sure what is the actual bug here:
- "No such file or directory is misleading", to say the least.
- If it's a problem with unavailable libraries, ldd should report which ones.
To post a comment you must log in.
TBH, I think this is out of scope for the default zsh configuration.
If someone comes up with some zsh functions to handle this more gracefully, please attach a patch on this bug. We can then consider adding them to the package