Comment by btdmaster
8 hours ago
Ah you can use https://github.com/NixOS/patchelf/pull/564
So you can do e.g. `patchelf --remove-needed-version libm.so.6 GLIBC_2.29 ./mybinary` instead of replacing glibc wholesale (step 2 and 3) and assuming all of used glibc by the executable is ABI compatible this will just work (it's worked for a small binary for me, YMMV).
No comments yet
Contribute on Hacker News ↗