1 |
On 11-04-2007 15:22:38 -0400, Armando Di Cianno wrote: |
2 |
> > [tefnut:/var/tmp] % install_name_tool -change |
3 |
> > /Library/Gentoo/usr/lib/libssl.0.9.8.dylib /var/tmp/libssl.0.9.8.dylib test |
4 |
> > [tefnut:/var/tmp] % cp /Library/Gentoo/usr/lib/libssl.0.9.8.dylib . |
5 |
> > [tefnut:/var/tmp] % ./test |
6 |
> > OpenSSL 0.9.8e 23 Feb 2007 |
7 |
> > [tefnut:/var/tmp] % otool -L test |
8 |
> > test: |
9 |
> > /var/tmp/libssl.0.9.8.dylib (compatibility version 0.9.8, current |
10 |
> > version 0.9.8) |
11 |
> > /Library/Gentoo/usr/lib/libcrypto.0.9.8.dylib (compatibility |
12 |
> > version 0.9.8, current version 0.9.8) |
13 |
> <snip /> |
14 |
> |
15 |
> We use this feature, on Darwin, at lot at my company. It's important to |
16 |
> note that most binaries, on Darwin, may need to be compiled with |
17 |
> "-headerpad_max_install_names" -- which is actually now antiquated / 32-bit |
18 |
> only -- or, better "-headerpad [value]". |
19 |
> |
20 |
> This option is needed for the cases where it's not /Y/Z -> /A/B but /Y/Z -> |
21 |
> /A...A/B...B . |
22 |
> |
23 |
> The fun starts with -headerpad_max_install_names when some apps think you're |
24 |
> monkeying too much with the linkage options, and start to make only static |
25 |
> versions. |
26 |
|
27 |
I'm actually not persuing to so stuff like you have. Neither have I |
28 |
ever seen such things in objects produced in prefix. I guess that stuff |
29 |
is heavily used in Applications, where they also use relative stuff. Or |
30 |
not? |
31 |
|
32 |
-- |
33 |
Fabian Groffen |
34 |
Gentoo on a different level |
35 |
|
36 |
-- |
37 |
gentoo-alt@g.o mailing list |