PatchELF: Simple utility for modifying existing ELF executables and libraries
1–10 of 42 posts
Re: PatchELF: Simple utility for modifying existing ELF executables and libraries
#2Re: PatchELF: Simple utility for modifying existing ELF executables and libraries
#3Apart from adapting proprietary or hard-to-compile software to non-FHS distros like NixOS or Guix, what are the usecases of patchelf?
Re: PatchELF: Simple utility for modifying existing ELF executables and libraries
#4Apart from adapting proprietary or hard-to-compile software to non-FHS distros like NixOS or Guix, what are the usecases of patchelf?
Re: PatchELF: Simple utility for modifying existing ELF executables and libraries
#5Apart from adapting proprietary or hard-to-compile software to non-FHS distros like NixOS or Guix, what are the usecases of patchelf?
You can do this yourself with e.g. hexedit if your new path is shorter but if it's longer you need something smarter, like patchelf.
Re: PatchELF: Simple utility for modifying existing ELF executables and libraries
#6Apart from adapting proprietary or hard-to-compile software to non-FHS distros like NixOS or Guix, what are the usecases of patchelf?
Being able to add or update the rpath on apps and shared objects is pretty handy, particularly when the target would be annoying or problematic to rebuild.
Re: PatchELF: Simple utility for modifying existing ELF executables and libraries
#7Apart from adapting proprietary or hard-to-compile software to non-FHS distros like NixOS or Guix, what are the usecases of patchelf?
Re: PatchELF: Simple utility for modifying existing ELF executables and libraries
#8Apart from adapting proprietary or hard-to-compile software to non-FHS distros like NixOS or Guix, what are the usecases of patchelf?
Re: PatchELF: Simple utility for modifying existing ELF executables and libraries
#9Re: PatchELF: Simple utility for modifying existing ELF executables and libraries
#10Part of the excellent "nix pills" guide on why things are the way they are in Nix, and why this tool was created.
The whole series is a pretty easy evening read if you have experience in functional languages (like haskell), and really helps you appreciate what nix is doing.
One of my main reservations about Nix and introducing it at work is basically requiring that other developers wrap their minds around functional concepts like partial application.
This might just be an imagined problem, but not one I want to spend cycles explaining to the higher-ups