-
-
Notifications
You must be signed in to change notification settings - Fork 519
Open
Labels
Description
Describe the bug
After running patchelf --remove-rpath on a shared library, readelf -a | grep $OLD_RPATH will show no matches. However the string has been left behind in the binary.
Steps To Reproduce
Please include exact steps with an attached binary so that
another person can reproduce the problem.
patchelf --remove-rpath libgcc_s.so.1
readelf -a libgcc_s.so.1 | grep /nix/store/kvjzg
strings libgcc_s.so.1 | grep /nix/store/kvjzg
/nix/store/7rb10j6ifizp05pm2h51sjwiky5wnkb8-xgcc-11.3.0-lib/lib:/nix/store/kvjzg5xf51niicmw9fndxws1akgz21p4-bootstrap-stage0-glibc-bootstrap/lib:/nix/store/4b30jk1h42q5qs71l4sbv8cr3hnxdys4-bootstrap-tools/lib
Expected behavior
No output from the second command. Nix's reference scanner depends on this.
patchelf --version output
patchelf 0.15.0
Additional context
Add any other context about the problem here.
Reactions are currently unavailable