• 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
Loading dylib that is not in /usr/local/lib/
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Loading dylib that is not in /usr/local/lib/


  • Subject: Loading dylib that is not in /usr/local/lib/
  • From: Rich Collyer <email@hidden>
  • Date: Wed, 26 Nov 2008 14:19:25 -0800

I am building a dylib that I need to keep installed in the application bundle that is using it.

When I launch the application, I get the run time error:

dyld: Library not loaded: /usr/local/lib/<name of lib>.dylib
  Referenced from: /Users/<path to application>
  Reason: image not found

How do I convince the application to look for the dylib in :<application>/Contents/Resources/

BTY, the solution also has to work on 10.4.x.

+++++++++++++++++++++++
Rich Collyer - Senior Software Engineer
email@hidden

IronKey - The World's Most Secure Flash Drive
2008 SC Magazine Readers Choice Award Winner
2008 FOSE Best of Show Winner
2007 GCN Labs Reviewers Choice Winner
+++++++++++++++++++++++




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Loading dylib that is not in /usr/local/lib/
      • From: Jack Repenning <email@hidden>
  • Prev by Date: Re: Removing documentation sets from the Developer Documentation
  • Next by Date: Re: Loading dylib that is not in /usr/local/lib/
  • Previous by thread: Re: Xcode 2.5 and distributed builds
  • Next by thread: Re: Loading dylib that is not in /usr/local/lib/
  • Index(es):
    • Date
    • Thread