On 10:29 15 Jan 2004, I wrote:Yes that would appear to be exactly what I need (haven't tested it yet, though.) Thanks.
| Does anyone know if there is a way to set the DT_RPATH or DT_RUNPATH on | an existing ELF binary? I.e. to produce the same effect as linker option | "-rpath", but via a call made *after* the link is done?
| | I want this because it would be more practical than -rpath at compile | time for a software package I'm building. Simply put, I have some apps | that link with special DSOs that will be installed outside of /usr/lib, | or possibly on a *subdirectory* of /usr/lib (I haven't reached a final | decision on the exact layout yet.) The problem is that the build system | (i.e. make) doesn't really know where this location is - but the | packager does. (Yeah, I could tell make about it, but it would rise some | build order issues etc.; I won't go into more detail here.)
Look at this tool:
http://freshmeat.net/projects/chrpath/?topic_id=46
your packager could apply it I would think.
Cheers,
So there is no such tool in the OS distribution?
- Toralf
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list