Entware / Entware-ng

Entware-ng
GNU General Public License v2.0
1.21k stars 153 forks source link

malformed /opt/bin/ldd (x87-64) #784

Closed mcandre closed 7 years ago

mcandre commented 7 years ago

Package: ldd

For existing package:

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!

# 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
zyxmon commented 7 years ago

ldd is a script.