Re: install_name_tool
Re: install_name_tool
- Subject: Re: install_name_tool
- From: Martin <email@hidden>
- Date: Fri, 20 Jun 2008 09:12:38 +0200
Thanks for your answers but it's still not working here. Plus I don't
really see why I should use "-id" option since what I really want to
do is *change* one of the paths.
Back to my Foo framework:
$ otool -L Foo.framework/Foo
/Users/martin/Library/Frameworks/Foo.framework/Versions/A/Foo
(compatibility version 1.0.0, current version 1.0.0)
...
$ install_name_tool -change /Users/martin/Library/Frameworks/
Foo.framework/Versions/A/Foo @executable_path../../Frameworks/
Foo.framework/Versions/A/Foo Foo.framework/Foo
$ otool -L Foo.framework/Foo
/Users/martin/Library/Frameworks/Foo.framework/Versions/A/Foo
(compatibility version 1.0.0, current version 1.0.0)
...
Am I typing something wrong? Does it work on your computer?
There are no error messages given by install_name_tool, it just
silently does nothing...
Martin.
On Jun 19, 2008, at 11:56 PM, Laurent Cerveau wrote:
On Jun 19, 2008, at 11:02 PM, Kyle Sluder wrote:
On Thu, Jun 19, 2008 at 4:40 PM, Martin <email@hidden>
wrote:
And as you can see, nothing has changed and the first line has
certainly not
been replaced by "bla". What am I doing wrong?
Shouldn't you be using the -id flag, not -change?
I usually do both of them (for framework embedding). E.g to make a
framework embeddable
install_name_tool -change /Library/Frameworks/$EXECUTABLE_PATH
@executable_path/../Frameworks/$EXECUTABLE_PATH $EXECUTABLE_NAME
install_name_tool -id @executable_path/../Frameworks/
$EXECUTABLE_PATH $EXECUTABLE_NAME
I think one option is about install path while the other is about
identification
laurent
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden