Overriding built-in dylibs?
Overriding built-in dylibs?
- Subject: Overriding built-in dylibs?
- From: daniel <email@hidden>
- Date: Mon, 14 Mar 2005 10:37:05 -0800
I'm used to addressing the "illegal implicit reference" type build errors by simply adding the indirectly referenced dylib/framework and rebuilding.
What if I really do need to override the system's dylib for my app? In particular, I want a newer version of libcrypto and libssl. I've added static copies of those libraries to my project and everything builds as expected until link time:
<x-tad-smaller>ld: /Users/daniel/Sources/***/OpenSSL/libcryptoNEW.a(v3_utl.o) illegal reference to symbol: _X509_NAME_ENTRY_get_data defined in indirectly referenced dynamic library /Developer/SDKs/MacOSX10.2.7.sdk/usr/lib/libcrypto.0.9.dylib
</x-tad-smaller><x-tad-smaller>
</x-tad-smaller>I can appreciate that the system still links to the dylibs, even if I don't. Shouldn't there be some way for me to ask the linker to "prefer static symbols" or something? I am passing -search_paths_first to the linker.
Thanks!
Daniel
_______________________________________________
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