Red Hat Bugzilla – Bug 1271380
chrpath missing support for 32-bit binaries
Last modified: 2017-08-01 18:23:43 EDT
Description of problem: Current `chrpath` in RHEL 7 doesn't support for 32-bit executables/libraries. Version-Release number of selected component (if applicable): Red Hat Enterprise Linux 7.1 chrpath-0.13-14.el7.x86_64 How reproducible: Always Steps to Reproduce: 1. chrpath -l <executable/library> Actual results: # chrpath -l program_32 `program_32' probably isn't a 64-bit LSB-first ELF file. elf_open: Exec format error # chrpath -r /root/D program_32 `program_32' probably isn't a 64-bit LSB-first ELF file. elf_open: Exec format error Expected results: # chrpath -l program_32 program_32: RPATH=/root/C/ # chrpath -r /root/D program_32 program_32: RPATH=/root/C program_32: new RPATH: /root/D Additional info: Upstream BugZilla : https://bugzilla.redhat.com/show_bug.cgi?id=1144863
Created attachment 1082750 [details] Diff of chrpath-0.13 and chrpath-0.14 Tested locally, it seems to fix the issue.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2058