Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
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



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

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.