Thread: An app to add an rpath?

  1. #1
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357

    An app to add an rpath?

    Anyone know of an app that allows you to add an rpath to an elf that wasn't linked with one? I know of chrpath but that can only modify, not create. The source of the app I am running is not available to recompile.
    I'm using LD_LIBRARY_PATH right now to run it (so I'm not heart broken)--however it would be more convenient in this case for me to just give the app an rpath and I figure a handy tool to have laying around for awkward issues such as this.

    Thanks.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Get the source code for chrpath, examine it and add that functionality.
    http://freshmeat.net/projects/chrpath/ says it's still being developed, so now's your chance to contribute
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. non-MFC DLL with MFC app question.
    By Kempelen in forum Windows Programming
    Replies: 10
    Last Post: 08-20-2008, 07:11 AM
  2. Help needed Please
    By jereland in forum C Programming
    Replies: 9
    Last Post: 03-18-2004, 05:30 AM
  3. Need help migrating console app to windows app
    By DelphiGuy in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2004, 07:05 PM
  4. Add ON_COMMAND menu button handler
    By kybert in forum Windows Programming
    Replies: 6
    Last Post: 09-15-2002, 07:33 PM
  5. Can somebody test this code please
    By andy bee in forum C Programming
    Replies: 6
    Last Post: 10-09-2001, 03:08 PM