On Wed, Sep 26, 2007 at 10:22:32AM +1200, Philip Lamb wrote: > > This might seem like a sacreligious quesion to ask, but has anyone > made a tool to automate the process of bundle-izing a given set of > shlibs from a fink installation? > > By bundle-ize, I mean making a copy of a given library and all its > dependencies that live in /sw, and rewriting (with install_name_tool) > the install name of the libs and their connections with each other so > that they hang off @executable_path/ instead of /sw/lib.
http://bugzilla.gnome.org/show_bug.cgi?id=474278 suggests someone does have such a script. There's a further complication for packages that have external data files, in that those file locations are often hard-coded and not managed by dyld. These might not matter for what you're doing (if you don't care about multilingual support for diagnostic messages, you wouldn't care if glib couldn't find its gettext catalogs), but other data files might be important for whatever you're doing. Try running 'strings /sw/bin/libwhatever.dylib | grep /sw' to see what comes up. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel