• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: install_name_tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: install_name_tool
      • From: "Sherm Pendley" <email@hidden>
    • Re: install_name_tool
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >install_name_tool (From: Martin <email@hidden>)
 >Re: install_name_tool (From: "Kyle Sluder" <email@hidden>)
 >Re: install_name_tool (From: Laurent Cerveau <email@hidden>)

  • Prev by Date: [Text rendering] Is there a known issue in Mac OS X 10.4.11?
  • Next by Date: Re: install_name_tool
  • Previous by thread: Re: install_name_tool
  • Next by thread: Re: install_name_tool
  • Index(es):
    • Date
    • Thread