Installing OpenSSL on macOS

Gruff users: if you were directed to this page, that means you must install OpenSSL to use a certain features of Gruff.

OpenSSL is no longer included with Allegro CL 10.1 or product downloads based on 10.1, including some versions of Gruff (the ones built on 10.1).

This change is due to Apple's handling of OpenSSL. We have two issues with the changes:

  • Since they are not supporting OpenSSL, it will not get timely security fixes, and that is a serious concern for anyone using OpenSSL, and
  • They stopped making the OpenSSL header files available to developers, which prevents us from building any products that use it.

How to install OpenSSL on macOS

  1. Download the appropriate Mac Ports installer for your version of macOS.
  2. Run the downloaded file (with a .pkg extension) and follow the prompts. Once the installer exits, continue to step 3.
  3. Open Terminal and type:
    $ sudo /opt/local/bin/port install openssl +universal
    
    Unless you already have Xcode installed, there will a popup that gives you three choices:
    1. Get Xcode: you will be directed to the App store to download Xcode, which is quite large (~4.5GB).
    2. Not Now: nothing will be download and the installation of OpenSSL will fail.
    3. Install: only the command line Xcode compilers will be installed, and the download is relatively small (it is hard to determine the exact size but it happens fairly quickly).
    Select Install.

    If you see a warning like the following, you may ignore it:
    Warning: xcodebuild exists but failed to execute
    Warning: Xcode does not appear to be installed; most ports will likely fail to build.
    
    You will also be prompted to answer the following question:
    The following dependencies will be installed: zlib
      Continue? [Y/n]
    
    Press the Enter key to install zlib, otherwise OpenSSL will not function.

    The installation generates quite a lot of output, ending with:
    ---> No broken files found.
    
    That line indicates the installation succeeded. You now have the 32 and 64-bit versions of the OpenSSL libraries installed, so that you can use either 32 or 64-bit Allegro CL 10.1 or 10.1-based applications.
Copyright © 2018 Franz Inc., All Rights Reserved | Privacy Statement Twitter Google+