Re: running Eric's binary (notes)

Eric Robinson <[email protected]> Thu, 13 Mar 2008 14:46:22 -0500
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <C3FEEEBE.7BF5%[email protected]>
Funny you mention that...

I came across that info recently, but it also looks like that ability is
deprecated in Leopard.

I am looking into a better solution, likely in the direction you mention...


On 3/13/08 2:34 PM, "Thomas Huffman" <[email protected]> wrote:

>> 
> 
> Eric,
> 
>> Theoretically, while the binaries might look into /sw for the libs,
>> the
>> actualy script that is executed should first set a fallback path for
>> the
>> dylibs.
>> 
> 
> This more like a guess, but your script looks like it only changes
> DYLD_FALLBACK_LIBRARY_PATH if it is not already defined.  Perhaps, on
> some systems it is already set?
> 
>> I think what I will do is change that script to run
>> install_name_tool, which
>> allows you to dynamically change the lib references in a mach binary.
> 
> A cleaner method may be to set the install path to
> "@executable_path/../Resources/lib" once before distribution.  This
> should save the trouble of having to change each one every time you
> run start cinepaint.
> 
> Laters,
> Tom
> 
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Cinepaint-developers mailing list
> Cinepaint-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/cinepaint-developers



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/