Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Symbol Sharing between Dylibs (and how to prevent it)



On 8/30/06, Jonathan Johnson <email@hidden> wrote:

I have tried a variety of things: all plugins are required to use the
two-level namespace, and I've triple checked this. I've tried a few
pre-link options that I discovered on Google. But in the end, it still
happens.

So, I finally found out how to solve this. It's pretty simple -- don't use dynamic libraries, but instead use bundles. I always thought the Bundle option in Xcode generated a bundle structure, but I was wrong -- it creates a separate type of library, of which can be loaded in its own private namespace.

Only replying to hopefully save someone else some hair pulling in the
very unlikely event that it will bite someone else. :)

-Jon


-- Jonathan Johnson REAL Software, Inc. _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Symbol Sharing between Dylibs (and how to prevent it) (From: "Jonathan Johnson" <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.