• 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: Question about dynamic and static libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about dynamic and static libraries


  • Subject: Re: Question about dynamic and static libraries
  • From: Daniel Jalkut <email@hidden>
  • Date: Wed, 28 Dec 2005 09:54:38 -0500

How are you confirming that it pulls in the /usr/local/lib version of the library?  Can you confirm that none of the libraries it *does* link to are linking directly to the /usr/local/lib library?

Daniel

On Dec 28, 2005, at 9:49 AM, Brant Sears wrote:

That's what I *would* think. However, when I remove all of the libraries from /usr/local/lib and then add the .a to the project and build, I get an application that is supposedly not linking to the .dylib. When I use otool -L to examine my app, I no longer see the .dylib listed in the libraries and frameworks it loads. Yet, when I take the app binary to another machine if the .dylib is present in /usr/local/lib, it loads that version of the library.

This is the part that has me totally confused.

 _______________________________________________
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: Question about dynamic and static libraries
      • From: "Brant Sears" <email@hidden>
References: 
 >Question about dynamic and static libraries (From: "Brant Sears" <email@hidden>)
 >Re: Question about dynamic and static libraries (From: Eric Albert <email@hidden>)
 >RE: Question about dynamic and static libraries (From: "Brant Sears" <email@hidden>)

  • Prev by Date: RE: Question about dynamic and static libraries
  • Next by Date: Re: OT: Virtual PC 7 / Visual Studio 2003
  • Previous by thread: RE: Question about dynamic and static libraries
  • Next by thread: RE: Question about dynamic and static libraries
  • Index(es):
    • Date
    • Thread