Re: dylib in non-standard location
Re: dylib in non-standard location
- Subject: Re: dylib in non-standard location
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 25 Aug 2005 21:23:06 -0600
On Aug 25, 2005, at 2:03 PM, Stefan Werner wrote:
This is what I appended to my custom linker settings:
-dylib_file /usr/local/lib/thelib.dylib:@executable_path/../
Frameworks/thelib.dylib
But when I launch the application after building it, it refuses to
launch because it can't find /usr/local/lib/thelib.dylib. What am I
missing?
Try using the install_name_tool program... I've never heard of the -
dylib_file option before, but install_name_tool ought to work. It
also helps to pass the -headerpad_max_install_names option to the
linker when building the dylib, if that's possible.
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
_______________________________________________
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