Like you, on my old Intel Mac, Homebrew has OpenSSL at /usr/local/opt/openssl which is a symlink to (I'm unsure how up-to-date that one is). Here's the relavent output: Checking for system ssl.noĬhecking for ssl in /opt/homebrew/opt/openssl.ok configure, Homebrew's OpenSSL install is found at /opt/homebrew/opt/openssl. I can confirm that your check-in (Fossil 2.15, 17af40efff) works as expected. Fossil's build system will seek it out and use it automatically. we recomend that you use Homebrew on macOS to install OpenSSL as above. I'm filing this as a bug because the Fossil SSL wiki mentions: configure -with-openssl=/opt/homebrew/opt/openssl configure, yielded the following SSL checks: Checking for system ssl.noĬhecking for ssl in /usr/local/opt/openssl.no Homebrew now installs to /opt/homebrew for macOS on Apple Silicon and continues to use /usr/local for macOS on Intel. I ran into this issue when trying to build Fossil (version 2.15, 324154e821) on a new M1 Mac Mini (Big Sur, macOS 11.2). Add the following snippet at around line 1560, right under the entry for “ darwin64-x86_64-cc”.The build script fails to check for SSL in /opt/homebrew/opt/openssl which seems to be the default location when installing OpenSSL via Homebrew on Apple Silicon (M1) Macs. Having extracted the OpenSSL sources (be sure extract it into a separate location than the one you’ve used to build the Intel portion), then modify file Configurations/10.nf to add the macOS arm64 build configuration. However the arm64 portion requires changes to OpenSSL’s build configuration as the macOS build of the instruction set is not currently supported by the library. # Specify minimum deployment target as needed by your appīy the time make completes, you should get four files that comprises of the static and dynamic libraries of OpenSSL. Pay special attention on the arguments to the Configure script. Optionally set the macOS deployment target if you need your app to run on earlier versions of the operating system. You need to extract the OpenSSL sources into a dedicated folder for the architecture, run configure and then make. openssl-1.1.1g-arm64 – for the ARM build.īuilding the x86_64 portion would be straight-forward since this is currently supported by OpenSSL 1.1.1g. In this article I’m going to assume that you are going to extract OpenSSL sources into sibling folders with the following names: Join results of the two together to create a Universal Library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |