patchelf icon indicating copy to clipboard operation
patchelf copied to clipboard

A small utility to modify the dynamic linker and RPATH of ELF executables

Results 148 patchelf issues
Sort by recently updated
recently updated
newest added

**Describe the bug** I have a shared object I'm attempting to remove the symbol version from that is linking to a newer version of libm.so than my machine has. The...

bug

After removing a DT_NEEDED with --remove-needed, the removed string still appears in STRTAB, only the reference is removed in the dynamic section. It would be nice to add an option...

**Describe the bug** If you run ``--add-needed`` on certain executables, it can decrease the address of the first page to below ``vm.mmap_min_addr``, meaning that when it runs, you'll only get...

bug

**Describe the bug** We use `patchelf` to add rpath to a Python executable (literally `python3.8`) that we compile ourselves in order to find the libraries we ship in nearby directories....

bug

**Describe the bug** Tests fail when `patchelf` is built with AddressSanitizer instrumentation. **Steps To Reproduce** Working on Ubuntu 18.04.5 LTS, ``` ./bootstrap.sh ./configure --with-asan make make check ``` We see...

bug

**patchelf version:** Built from 27ffe8a In our build process, we try to remove all version numbers from the shared objects names of our various dependencies. We use patchelf to fix...

bug

**Describe the bug** The program produces a core dump (crashes). **Steps To Reproduce** `patchelf --set-interpreter /path-to/ld-linux.so BinaryWithEmptyInterpreter.binary` produces a core dump. The binary with empty interpreter that triggered the issue...

bug

Refer to https://github.com/NixOS/patchelf/issues/44 for full details ELF32 .so libs still report as being truncated when their RPATH is set

bug

**Describe the bug** This seems to be one of the root causes behind https://github.com/NixOS/nixpkgs/issues/97407 When running a certain combination of patchelf + strip + patchelf on the upstream released stage2...

bug

I'm trying to monkey patch out a glibc version check, but having a hard time figuring out exactly how the versions are tracked. Haven't been able to figure out how...

bug