expected behavior: /opt/bin/ldd --help => Some usage message
actual behavior: ash: /opt/bin/ldd: not found
Platform:
Latest entware install sh for x86-64
OpenWRT 12.09
Docker 17.09.0-ce
ls confirms that the ldd binary was placed there in /opt/bin, by opkg install ldd. Strangely, readelf reports that /opt/bin/ldd is in fact not an ELF binary!
# ls -Ahl /opt/bin/ldd
-rwxr-xr-x 1 root root 5.6K Sep 25 14:26 /opt/bin/ldd
# readelf -d /opt/bin/ldd
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
Package: ldd
For existing package:
/opt/bin/ldd --help
=> Some usage messageash: /opt/bin/ldd: not found
Platform:
ls confirms that the ldd binary was placed there in /opt/bin, by
opkg install ldd
. Strangely, readelf reports that /opt/bin/ldd is in fact not an ELF binary!