site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Greetings, Any advice or hints would be greatly appreciated. Thanks, Jeshua Lacock ___________________________ Programmer/Owner Phone: 877.240.1364 http://OpenOSX.com Fax: 415.462.6211 -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I often run into a common problem when using Mach-O dynamically linked shared libraries (dylibs), sometimes the paths to the linked, dependent shared dylibs are to my source directory (or somewhere else), and not to the distribution directory (eg a dylib is linked to: "/usr/src/foo/libfoo.dylib" instead "/usr/foo/lib/libfoo.dylib"). This of course creates problems unless I export the DYLD_LIBRARY_PATH environment variable including the "/usr/foo/lib" path. in many cases, resorting on DYLD_LIBRARY_PATH is far from ideal. Does anyone know if it is possible to change the linked paths, short of relinking the library, or using DYLD_LIBRARY_PATH? It seems like there should be a way to just edit the path, which would be ideal. I can see that the linked library paths are just strings of text, so it seems plausible to edit them somehow. This email sent to site_archiver@lists.apple.com
participants (1)
-
Jeshua Lacock