Skip to main content

Questions tagged [patchelf]

Patchelf is a program which can change the dynamic linking parameters within an executable. Use this tag on questions which can be solved using the patchelf utility.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
360 views

What's the difference between running a program with ld + --library-path and with changing the loader with patchelf? To illustrate, here is a binary that wouldn't run as is, presumably because of lack ...
ychaouche's user avatar
  • 1,043
2 votes
0 answers
331 views

I am trying to run Qt Design Studio 2.3.1 Community on NixOS. My nix derivation code: flake.nix: { description = "Qt Design Studio"; inputs = { nixpkgs.url = "github:NixOS/...
satk0's user avatar
  • 161
4 votes
1 answer
7k views

I see that there are other questions like this out there, but the answers there did not work for me. I am using I downloaded the Julia 1.9.2 (Linux, x86-64, glibc) prebuilt binary and tried to execute ...
loonatick's user avatar
  • 171
0 votes
0 answers
2k views

The context is as follows: on my o.s. there is (already) liba.so.v2 of "liba" which contains the string 'symbol_version-2' as the symbol version for its functions , e.g. functionX@version-2 ...
cg79's user avatar
  • 31
2 votes
1 answer
340 views

I'm packaging a tool that includes some shared objects natively, and I think the right approach to add those objects to the rpath is to use the addAutoPatchelfSearchPath function to the installPhase ...
aionos242's user avatar
1 vote
2 answers
436 views

I am patching several libraries on my development server to remove unneeded dependencies using the patchelf tool. These get packaged into an RPM and installed on my runtime system. After the install, ...
swaggy p's user avatar
  • 111
5 votes
0 answers
1k views

Resume I am currently trying to install dot-net-core-sdk 2.0 with the Nix package manager in NixOs. I am very new to both NixOs, Nix, bash scripting and stuff like ELF. Yet I think I've successfully ...
user avatar
1 vote
1 answer
836 views

I am testing how dynamic linking works with RUNPATH variable, and trying to run bash in a minimal chroot directory: $ find dir_chroot/ -type f dir_chroot/bin/bash dir_chroot/lib/x86_64-linux-gnu/libc....
xealits's user avatar
  • 2,291
18 votes
1 answer
13k views

I have a legacy system with a very old glibc, which we can't upgrade without incurring a mountain of testing/validation work. I have needed to run newer programs (such as Java 1.7) on that system ...
dataless's user avatar
  • 1,769
16 votes
2 answers
9k views

I tried to install the current oracle jre on a VM running NixOS. Now the following happens: [michas@cc:~]$ tar xvzf jre-7u40-linux-x64.tar.gz |grep bin/java jre1.7.0_40/bin/javaws jre1.7.0_40/bin/...
michas's user avatar
  • 21.9k
9 votes
2 answers
38k views

I know there are similar questions out there, but I haven't found a solution nor this exact case. The binary was built on Arch Linux using its GCC 4.7. The package works fine on the build system. The ...
rubenvb's user avatar
  • 370
5 votes
1 answer
4k views

I am looking for alternative of install_name_tool of MAC in CentOS. Exactly I want to build MySQL on non default location. Also the shared libraries of the mysql binary should be on non default ...
John D's user avatar
  • 51