From: | Paul Hartman <paul.hartman+gentoo@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] "prelink" a dynamic library | ||
Date: | Fri, 03 Oct 2008 18:24:06 | ||
Message-Id: | 58965d8a0810031124l12f81d35j342ad45b7d4989c4@mail.gmail.com | ||
In Reply to: | [gentoo-user] "prelink" a dynamic library by Helmut Jarausch |
1 | On Wed, Oct 1, 2008 at 11:53 AM, Helmut Jarausch |
2 | <jarausch@××××××××××××××××.de> wrote: |
3 | > Hi, |
4 | > |
5 | > I want to create a shared library, say libULIB.so, |
6 | > which needs additional shared libraries, e.g. libmpfr.so and |
7 | > libgmp.so . |
8 | > |
9 | > My users only use the functions provided by libULIB.so. |
10 | > |
11 | > Is there a means to "prelink" libULIB.so, so that the libraries |
12 | > libmpfr.so and libgmp.so are not needed by the user? |
13 | |
14 | use the -static commandline option of gcc. |
15 | |
16 | Paul |