• 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: Static library confusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static library confusion


  • Subject: Re: Static library confusion
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Wed, 7 Jan 2009 16:03:41 +0100


Le 7 janv. 09 à 15:12, Sherm Pendley a écrit :

On Jan 7, 2009, at 5:03 AM, email@hidden wrote:

This my problem. I am only linking to the static Library.

That's obviously what you *want* to do, but the error message you're getting indicates that's not how your app is actually linked. Disbelieving the evidence is usually not an effective debugging technique. :-)


When you link with -l, the linker prefers dynamic libraries over static when both are present. To force static linking, have a look at:

   <http://developer.apple.com/qa/qa2006/qa1393.html>

sherm--

try

otool -L youapp

At least we will now for sure if it links on the static library or something else.

_______________________________________________
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: Static library confusion [SOLVED]
      • From: "email@hidden" <email@hidden>
    • Re: Static library confusion
      • From: "email@hidden" <email@hidden>
References: 
 >Static library confusion (From: "email@hidden" <email@hidden>)
 >Re: Static library confusion (From: "Mark Wagner" <email@hidden>)
 >Re: Static library confusion (From: "email@hidden" <email@hidden>)
 >Re: Static library confusion (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: Static library confusion
  • Next by Date: Re: Static library confusion
  • Previous by thread: Re: Static library confusion
  • Next by thread: Re: Static library confusion
  • Index(es):
    • Date
    • Thread