• 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: Using a dylib without installing it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using a dylib without installing it


  • Subject: Re: Using a dylib without installing it
  • From: Dix Lorenz <email@hidden>
  • Date: Wed, 11 Jul 2007 12:02:13 +0200

Hi,

thanks to everybody who replied:

Try this:
install_name_tool -change libchartdir.4.dylib @executable_path/../ Frameworks/libchartdir.4.dylib /Users/dlorenz/Development/Build Products/Debug/CanvasViewer.app/Contents/MacOS/CanvasViewer


Assuming that you will put the library in the Frameworks folder inside your application:
/Build Products/Debug/CanvasViewer.app/Contents/Frameworks

This works perfectly.

PS. This is maybe one of the more stupid things in Mac OS X. Why the dylib loader don't look first in some well know location inside the app bundle?

That's basically what I was expecting...

Thanks,
Dix


_______________________________________________ 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: 
 >Using a dylib without installing it (From: Dix Lorenz <email@hidden>)
 >Re: Using a dylib without installing it (From: "DAS Loop" <email@hidden>)

  • Prev by Date: malformed object, illegal reference
  • Next by Date: Re: Mysterious warning (comparison between pointer and integer)
  • Previous by thread: Re: Re[2]: Using a dylib without installing it
  • Next by thread: Re: Re[2]: Using a dylib without installing it
  • Index(es):
    • Date
    • Thread