• 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: Linking Tool to nested dylib: "Library not loaded…"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking Tool to nested dylib: "Library not loaded…"


  • Subject: Re: Linking Tool to nested dylib: "Library not loaded…"
  • From: Fritz Anderson <email@hidden>
  • Date: Mon, 24 Oct 2011 11:18:23 -0500

On 24 Oct 2011, at 11:11 AM, Jerry Krinock wrote:

> I've built a command-line tool whose sole purpose is to test a dylib I've written.  My test tool is linked to the dylib, and the dylib itself is linked to some 3rd-party dylibs.
>
> My command-line tool crashes on launch…
>
> dyld: Library not loaded: @executable_path/libmozalloc.dylib
>  Referenced from: /Users/jk/Builds/Debug/TestTool
>  Reason: image not found
>
> where libmozalloc.dylib is one of the four 3rd-party dylibs.
>
> The size of my dylib product is 310 KB.
> The size of test tool product is 13 KB.
>
> What am I doing wrong?

I'll start with a literal reading of the error message: Is there a file /Users/jk/Builds/Debug/libmozalloc.dylib? Does it contain an architecture that's the same as TestTool's architecture?

	— F

 _______________________________________________
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: Linking Tool to nested dylib: "Library not loaded…"
      • From: Jerry Krinock <email@hidden>
References: 
 >Linking Tool to nested dylib: "Library not loaded…" (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Linking Tool to nested dylib: "Library not loaded…"
  • Next by Date: Re: erroneous template
  • Previous by thread: Linking Tool to nested dylib: "Library not loaded…"
  • Next by thread: Re: Linking Tool to nested dylib: "Library not loaded…"
  • Index(es):
    • Date
    • Thread