ldconfig: No link created since soname could not be found for
~/tmp % readelf -d libpcrecool.so|grep SONAME
0x000000000000000e (SONAME) Library soname: [libpcrecool.so.1]
This is due to the loadaddr calculation in readelflib.c assuming that the vaddr
which is read from the first STRTAB section in the dynamic segment can be
resolved in the first LOAD segment.
The patchelf utility however changes or adds entries to .dynstr, and then
relocates it to a new LOAD segment at the end of the file.
The vaddr found at the PT_DYNAMIC->(first STRTAB)->d_un.d_ptr should be checked
against each LOAD segment, not just the first one.
All relevant versions up to the current master exhibit this bug.
You are receiving this mail because:
You are on the CC list for the bug.