Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Fabian Groffen <grobian@g.o>
Subject: Re: [PREFIX] dynamic linking: moving the locations
Date: Wed, 11 Apr 2007 21:34:52 +0200
On 11-04-2007 15:22:38 -0400, Armando Di Cianno wrote:
> > [tefnut:/var/tmp] % install_name_tool -change 
> > /Library/Gentoo/usr/lib/libssl.0.9.8.dylib /var/tmp/libssl.0.9.8.dylib test
> > [tefnut:/var/tmp] % cp /Library/Gentoo/usr/lib/libssl.0.9.8.dylib .
> > [tefnut:/var/tmp] % ./test
> > OpenSSL 0.9.8e 23 Feb 2007
> > [tefnut:/var/tmp] % otool -L test
> > test:
> >         /var/tmp/libssl.0.9.8.dylib (compatibility version 0.9.8, current 
> > version 0.9.8)
> >         /Library/Gentoo/usr/lib/libcrypto.0.9.8.dylib (compatibility 
> > version 0.9.8, current version 0.9.8)
>  <snip />
> 
>  We use this feature, on Darwin, at lot at my company.  It's important to 
>  note that most binaries, on Darwin, may need to be compiled with 
>  "-headerpad_max_install_names" -- which is actually now antiquated / 32-bit 
>  only -- or, better "-headerpad [value]".
> 
>  This option is needed for the cases where it's not /Y/Z -> /A/B but /Y/Z -> 
>  /A...A/B...B .
> 
>  The fun starts with -headerpad_max_install_names when some apps think you're 
>  monkeying too much with the linkage options, and start to make only static 
>  versions.

I'm actually not persuing to so stuff like you have.  Neither have I
ever seen such things in objects produced in prefix.  I guess that stuff
is heavily used in Applications, where they also use relative stuff.  Or
not?

-- 
Fabian Groffen
Gentoo on a different level

-- 
gentoo-alt@g.o mailing list


References:
[PREFIX] dynamic linking: moving the locations
-- Fabian Groffen
Re: [PREFIX] dynamic linking: moving the locations
-- Armando Di Cianno
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [PREFIX] dynamic linking: moving the locations
Next by thread:
Re: AIX: ca-certificates fails
Previous by date:
Re: [PREFIX] dynamic linking: moving the locations
Next by date:
Re: AIX: ca-certificates fails


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.