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

Might relate to #524. I tried splitting the patchelf command into 2 steps: `--set-rpath`, and then `--set-interpreter`. But the binary is still broken. **Describe the bug** The binary patched with...

bug

the libc++_shared.so from android NDK is modified by patchelf to libc++_shared_v2. Has a error. .note.gnu.property: unexpected note type. Expected 5, got 0. Shutting down VM

bug

**Describe the bug** 2 tests fail on FreeBSD: no-dynamic-section.sh shared-rpath.sh [log](https://freebsd.org/~yuri/patchelf-0.18.0-test-suite.log) **Steps To Reproduce** run tests **`patchelf --version` output** patchelf 0.18.0 FreeBSD 14.2

bug
freebsd

__Note:__ I know this is missing an update of the man-page and tests. I'd like to know if you'd be open to accept such a patch in the first place...

**Describe the bug** An assertion is hit on a call to `--add-needed` on a `.dbg` file. The file has no `.interp` section so I assume that might be related (or...

bug

**Edit**: It seems that the problem related on (g)libc version. On my laptop, the libc mapped with 0x10_000 alignment. However, on remote system it is 0x1000. Anyway, I'm finding a...

When trying to compile from source, running `make check` has tests that are failing **Steps To Reproduce** - open termux on an android phone - follow compilation instructions in this...

bug

**Describe the bug** After modifying SONAME, dlopen failed with an error message "alizedOrThrow", while original .so is good. **Steps To Reproduce** Need android environment. 1. Download tensorflow.so from https://maven.google.com/com/google/ai/edge/litert/litert/1.0.1/litert-1.0.1.aar. 2....

bug

**Describe the bug** Binary filesize exceeded UINT32_MAX(0xffffffff) bytes, `add-needed` rewrite fails all entries **Steps To Reproduce** Our codebase's compilation target `demo_service` is quite large, and after the compilation is completed,...

bug

**Describe the bug** I am trying to patch binaries that show the following when ran through `file`: ``` ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically...

bug