Backport this commit to fix defects loading files modified by patchelf. commit 58e8f5fd2ba47b6dc47fd4d0a35e4175c7c87aaa Author: Andreas Schwab <schwab> Date: Wed Oct 9 17:46:47 2019 +0200 ldconfig: handle .dynstr located in separate segment (bug 25087) To determine the load offset of the DT_STRTAB section search for the segment containing it, instead of using the load offset of the first segment.
Verified with https://sourceware.org/bugzilla/show_bug.cgi?id=23964#c0 instructions.
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 (Moderate: glibc security, bug fix, and enhancement update), 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/RHSA-2020:4444