• 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 location
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Library location


  • Subject: Re: Library location
  • From: email@hidden
  • Date: Tue, 21 Dec 2004 00:58:26 +0000

-------------- Original message --------------

> dyld:
> /Examples/Cocoa/QTSSConnectionMonitor/build/QTSSConnectionMonitor.app/
> Contents/MacOS/QTSSConnectionMonitor can't open library:
> /Library/Frameworks/MOKit.framework/Versions/A/MOKit (No such file or
> directory, errno = 2)
>
> Executable “QTSSConnectionMonitor” has exited due to signal 5 (SIGTRAP).
>
> I assume I need to set something to tell the app that the framework's
> NOT in /Library, but I don't see such a setting…where is it located?
What is the output of "otool -L" on the framework binary? When you run that against a library, then the first path that is printed is the installation path of the library. My guess is the framework you're using was built with the incorrect installation path.
 
If it's not what you expected, then you need to either re-link the framework/library with the correct installation path (assuming you have the source code for the framework/library), or you need to use the "install_name_tool" command line program to change the installation path. YMMV with the latter option.
 _______________________________________________
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

  • Follow-Ups:
    • Re: Library location
      • From: Mark Dawson <email@hidden>
  • Prev by Date: Re: Still doesn't work - Re: Launch failed with error code -2857
  • Next by Date: Re: Library location
  • Previous by thread: Library location
  • Next by thread: Re: Library location
  • Index(es):
    • Date
    • Thread