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:
- Ensure developer components are installed: pkg change-facet facet.devel=true
- Install the compiler, system headers, pkg-config tool: pkg install gcc system/header developer/build/pkg-config
- Set the correct pkgconfig path in your environment: export PKG_CONFIG_PATH=/usr/openssl/1.1/pkgconfig/64/:/usr/lib/64/pkgconfig
- Set the correct include path in your environment: export CFLAGS=”$(pkg-config –cflags libffi –libs libcrypto libssl)”
- Instruct the installer not to build rust: export CRYPTOGRAPHY_DONT_BUILD_RUST=1
- 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.

