site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hello everyone, Thanks for your help. Eric Arlotti earlotti@orkis.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I have a Carbon CFM shared library that needs to access OpenSSL functions. Under Panther, I used to load the "System.framework" bundle (using CFBundleCreate/ CFBundleLoadExecutable) and get every function pointer with CFBundleGetFunctionPointerForName. This works great with Panther but not with Tiger : I just can't find any reference to all SSL_xxx functions. I suppose that I made a wrong assumption about accessing OpenSSL from "System.framework" and that Tiger is more severe about this kind of assumption (if someone has any information about this issue, thanks to share). So, I changed my strategy and I am now trying to build a private Mach-O framework to act as a wrapper to OpenSSL. The problem is that I don't really know how to load the OpenSSL dynamic libraries (libcrypto.dylib and libssl.dylib) and get the functions pointers. I have found something about Dynamic Loader API and "dlopen" but it seems to be available since 10.4 and I'm looking for a solution that would work on 10.3 also. What is the correct API to load and use dylibs ? Is there any sample code ? Or a technical note ? This email sent to site_archiver@lists.apple.com
participants (1)
-
Eric Arlotti