Mykola Tetiuk
Mykola Tetiuk

Reputation: 362

How to set rpath or runpath larger then it was originally?

I have stumbled on a problem: I need to change the rpath, but I need it larger than it originally was.

chrpath won't rewrite the whole file, so it allows only narrowing. How do I enlarge that space? Is there another re-compiler to set a larger rpath/runpath?

Upvotes: 0

Views: 715

Answers (1)

Employed Russian
Employed Russian

Reputation: 213799

Use patchelf -- it has no limitations on the length of the new path.

Upvotes: 0

Related Questions