resolving back-links with dlopen
resolving back-links with dlopen
- Subject: resolving back-links with dlopen
- From: Mattias Holm <email@hidden>
- Date: Tue, 24 Mar 2009 21:32:38 +0100
Hi,
How do I load a .dylib file so that it resolves symbols in the executable loading it. I have built my lib with "-undefined dynamic_lookup", but I get errors like: dlopen(/Users/holm/Projects/orbit/oo/build/x86-darwin/src/Open Orbit Debug.app/Contents/Resources/plugins/libexamplePlugin.dylib, 6): Symbol not found: _omNewClass
Are there any special flags to pass when building the executable or the library so it finds the symbols from the executable file?
/ Mattias
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden