Re: running Eric's binary (notes)

Thomas Huffman <[email protected]> Thu, 13 Mar 2008 14:34:09 -0500
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <[email protected]>
>

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/