We’ve just announced updates to Dave Miner’s blog on How to Install OCI CLI on Oracle Solaris on oraclesolaris-contrib. The following instructions have been updated for installing OCI CLI on Oracle Solaris 11.4:

  1. Ensure developer components are installed: pkg change-facet facet.devel=true
  2. Install the compiler, system headers, pkg-config tool: pkg install gcc system/header developer/build/pkg-config
  3. Set the correct pkgconfig path in your environment: export PKG_CONFIG_PATH=/usr/openssl/1.1/pkgconfig/64/:/usr/lib/64/pkgconfig
  4. Set the correct include path in your environment: export CFLAGS=”$(pkg-config –cflags libffi –libs libcrypto libssl)”
  5. Instruct the installer not to build rust: export CRYPTOGRAPHY_DONT_BUILD_RUST=1
  6. Now follow the installation instructions from the OCI CLI documentation.

Head over to oraclesolaris-contrib learn more about installing OCI CLI on Oracle Solaris 11.4.