• 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: Library not loaded - wrong path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Library not loaded - wrong path?


  • Subject: Re: Library not loaded - wrong path?
  • From: Nicholaz Beresford <email@hidden>
  • Date: Wed, 10 Sep 2008 03:10:11 +0200



Michael Williamson wrote:

I couldn't see where to change the install path.
Is it determined and fixed at the time of compiling the framework?
This is a 3rd party framework, downloaded in a precompiled form. I could download the source instead and build it myself if I really have to ...

Either at compile time or google or man for "install_name_tool" which can fudge the location in your app after linking to the library.

(something like
install_name_tool -change @executable_path/../Resources/CEGUI.framework/Versions/A/CEGUI
@executable_path/../Frameworks/CEGUI.framework/Versions/A/CEGUI
yourapp.app/Content/MacOS/yourapp


in a script (post)build step)


Nick _______________________________________________ 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
References: 
 >Library not loaded - wrong path? (From: "Michael Williamson" <email@hidden>)
 >Re: Library not loaded - wrong path? (From: "Sherm Pendley" <email@hidden>)
 >Re: Library not loaded - wrong path? (From: "Michael Williamson" <email@hidden>)

  • Prev by Date: Re: breakpoints ignored while running unit tests! Why?
  • Next by Date: Re: Porting projects from Windows
  • Previous by thread: Re: Library not loaded - wrong path?
  • Next by thread: Re: Library not loaded - wrong path?
  • Index(es):
    • Date
    • Thread