[Live-devel] libssl and libcrypto libraries for Mac OS Big Sur?
I’m trying to update the “config.macosx” file so that the LIVE555 code builds/links on Mac OS "Big Sur” (the latest Mac OS release). However, I find that the “libssl” and “libcrypto” libraries no longer exist (or have perhaps moved). On Mac OS Catalina (and perhaps earlier versions), these libraries were available as /usr/lib/libssl.46.dylib and /usr/lib/libcrypto.44.dylib However, in Mac OS Big Sur, these no longer exist. Does anyone know where these libraries have gone, and how to get them back? Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel
Re: [Live-devel] libssl and libcrypto libraries for Mac OS Big Sur?
To (partially) answer my own question, I found the following online: "New in macOS Big Sur 11 beta, the system ships with a built-in dynamic linker cache of all system-provided libraries. As part of this change, copies of dynamic libraries are no longer present on the filesystem. Code that attempts to check for dynamic library presence by looking for a file at a path or enumerating a directory will fail. Instead, check for library presence by attempting to dlopen() the path, which will correctly check for the library in the cache. (62986286)” So apparently, for Mac OS Big Sur, I now have to apparently load the dynamic libraries at runtime by callng “dlopen()” (presumably within "TLSState::setup()”), rather than specifying dynamic library file names in the link line. Has anyone got this to work for libssl and libcrypto in Mac OS Big Sur (for any code, not necessarily LIVE555)? In particular, what should I use as the “path” parameter in the call to “dlopen()” (to get libssl and libcrypto, respectively)? Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel
[Live-devel] Update re. libssl and libcrypto libraries for Mac OS Big Sur
I was finally able to update the config files to work with MacOS Big Sur. The new config files are: config.macosx-catalina for the previous MacOS version, and config.macosx-bigsurfor the new MacOS "Big Sur” also, the existing config file config.macosx-no-openssl should work (with any MacOS version) if you don’t want SSH. I have just installed a new version (2020.11.20) of the code that includes these new config files. Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel