Re: Having trouble with -dylib_file
Re: Having trouble with -dylib_file
- Subject: Re: Having trouble with -dylib_file
- From: Peter O'Gorman <email@hidden>
- Date: Tue, 06 Jan 2009 00:34:51 -0600
Jeff Schriebman wrote:
> Hello,
>
Hi Jeff,
> I can't seem to get an alternate run time library path associated with a
> dynamic library.
>
> I have tried various combinations of the -dylib_file loader directive
> including the following one and my 10.4 PPC system is still looking for
> the original library in the X11 directory instead of the one in my
> bundle framework.
> -dylib_file /usr/X11/lib/libpng.3.dylib:@executable_path/libpng.3.dylib
-dylib_file is not correct, if you're coming from linux, it's more like
-rpath-link than -rpath.
Please read the man page for install_name_tool, and , you should look at
http://developer.apple.com/documentation/developertools/conceptual/MachOTopics/Articles/loading_code.html
http://www.cocoadev.com/index.pl?ApplicationLinking
Peter
--
Peter O'Gorman
http://pogma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden