From: | Grant Edwards <grant.b.edwards@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | [gentoo-user] Re: [OT] How to add library to dynamically linked executable? | ||
Date: | Tue, 23 Jun 2015 00:31:50 | ||
Message-Id: | mma9d0$kli$1@ger.gmane.org | ||
In Reply to: | [gentoo-user] Re: [OT] How to add library to dynamically linked executable? by walt |
1 | On 2015-06-22, walt <w41ter@×××××.com> wrote: |
2 | > On 06/22/2015 10:16 AM, Matti Nykyri wrote: |
3 | >> Also you can write a c program that modifies the elf executable, but |
4 | >> i don't think you need to for this problem. |
5 | > |
6 | > There is dev-util/patchelf, which sounds relevant, but I've never used it. |
7 | |
8 | Yep. The 0.8 version with the ebuild in dev-util is a bit old and |
9 | doesn't support the the --add-needed option. The git version does, |
10 | and it worked great. |
11 | |
12 | -- |
13 | Grant |