Kevin Walzer wrote:
[]
This is weird because libpng.3.dylib is copied into the app bundle. I can't figure out why Scribus is looking for the version installed in /sw when it's there in the bundle. As far as I can tell the other dylibs are loaded fine.

Library path names are hardcoded in the executable. If the library is not found at that place, it is searched for in ~/lib, /usr/local/lib, /lib, /usr/lib or the directories contained in DYLD_LIBRARY_PATH, but not in the local directory, see man dyld.


Does anyone have any advice?

Use install_name_tool to change the pathname to @executable_path


install_name_tool -change /sw/lib/libpng.3.dylib @executable_path/libpng.3.dylib scribus

Or set the environment variable DYLD_LIBRARY_PATH in your wrapper script.

--
Martin




------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to