patchelf
patchelf copied to clipboard
A small utility to modify the dynamic linker and RPATH of ELF executables
After commit ac212d0e6fb8b741e5a5e9ea61091149103f401c the code to rewrite alignment section has been changed to use the largest alignment in the list of segments instead of the alignment that it's retrieved using...
This pr adds a new switch `--remove-needed-version`, to removing symbol versioning used by libraries like glibc. This switch should fix the use case of issue #284, #252. I have included...
**Describe the bug** I've built a GDAL wheel and used auditwheel/patchelf to add the shared libraries into it, but I get an import error when I try to use the...
patchelf segfauilts after printing an assertion error message, when applied a particular file, which I will attach. It seems to occur when `--no-default-lib` is used with both `-set-interpreter` and `--set-rpath`...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 30 to 31. Release notes Sourced from cachix/install-nix-action's releases. v31 What's Changed nix: 2.24.9 -> 2.25.2 by @Mic92 in cachix/install-nix-action#218 ci: fix latest installer tests by @sandydoo...
Towards getting reproducers/non-regression tests for https://github.com/NixOS/patchelf/issues/492 which is OS dependent. Tests are showing another issue on ubuntu:18.04 i686 now that a fix for #492 has been merged.
**Is your feature request related to a problem? Please describe.** I stumbled across FreeBSD binaries - well rather Linux binaries run under Linuxulator - that cause the infamous "Program headers...
**Describe the bug** make[1]: *** [Makefile:381: patchelf.o] Segmentation fault (core dumped) **Steps To Reproduce** * Create a multistage docker image ```Dockerfile FROM alpine # Install Nuitka version declared RUN pip...
vks01# cp `which git` /tmp vks01# ./patchelf --set-rpath /Software/Git /tmp/git vks01# ldd /tmp/git /tmp/git: libz.so.1 => not found (0) libiconv.so.3 => not found (0) libcrypto.so.1.0.0 => not found (0) libthr.so.3...
I, at least, did not even know about the `--add-rpath`, until I searched this repo for something similar. I had looked at the readme but didn't see this feature, but...