Multiple symbol definitions causing application crash
Multiple symbol definitions causing application crash
- Subject: Multiple symbol definitions causing application crash
- From: "Andrew Buza" <email@hidden>
- Date: Tue, 1 Apr 2008 10:36:44 -0700
I'm writing a plug-in (bundle/shared library) for another application
and am having a bit of trouble that I'm not sure how to resolve. Both
my bundle and the host application use different versions of the same
3rd party library (omniORB); the host app loads libOmniCore.XC.dylib
while my plug-in loads libomniDynamic4.dylib.
As my plug-in loads, the application terminates with SIGABRT due to an
exception thrown from libomniDynamic4. The function
NP_marshalComplexParams is defined in both libraries, and what appears
to be happening, based on the stack trace & module addresses, is that
one of the functions called during omniDynamic4's initialization
procedure is using the function in OmniCore.XC instead of its own.
I'm not sure how to fix this problem since I'm not very familiar with
the ins & outs of mac development in general or dynamic linking on the
mac in particular. I've made sure that -flat_namespace isn't being
passed to the linker, but I'm not sure what else to try.
Any ideas?
_______________________________________________
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