This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How is ld-linux.so.2 [re]located?


On Sat, Mar 26, 2011 at 11:23 PM, Nix <nix@esperi.org.uk> wrote:
> ... yep, here we are: <http://bitwagon.com/rtldi/rtldi.html>. ?I never
> tried it, so I don't know how well it still works, but presumably it
> worked at one time. (Of course it too has a different name for
> ld.so... so this might not help too terribly much if the problem is
> indeed an existing binary that needs running.)

There's patchelf, which ought to do the trick here. It modifies the
binary itself to use a different loader:

http://nixos.org/patchelf.html


-- 
Siddhesh Poyarekar
http://siddhesh.in


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]