Oracle Client 19c Installation under Linux

  • Install the official 19c instant client (Version: 19.15) installation files.
  • After the installation, setup the environment variables in the bashrc or in the basch_profile files, as usual for RDB under Linux!

    Example

    ORACLE_HOME=/usr/lib/oracle/19.15/
    PATH="$HOME/.local/bin:$HOME/bin:$PATH" 
    PATH=${ORACLE_HOME}/bin/:/opt/WinCC_OA/3.20/bin/:$PATH
    TNS_ADMIN=/home/user/admin/
    Note: Set the required environment variables with ldconfig, see chapter Set necessary environment variables for the libraries with ldconfig.
  • Apply the One-Off patch "p28933630_198000DBRU_Linux-x86-64.zip" from Oracle. Take the lib file of the One-Off Patch(libocci_gcc53.so.19.1) and copy it to the LD_LIBRARY_PATH lib folder. In our case this will be the following:

    /usr/lib/oracle/19.15/
  • In order to set WinCC OA to use the correct library there are two possibilities:

    • Copy the lib libocci_gcc53.so.19.1 to the /opt/WinCC_OA/3.20/bin/ directory

    OR

    • Make a symbolic link to the new lib in the bin directory of the WinCC OA installation as follows:

      sudo ln -s $ORACLE_HOME/libocci_gcc53.so.19.1

Now your 3.20 Linux RDB project is ready and can be started!

Note: Customers with an ASFU license can purchase the Oracle Client 19.15 and the One-Off Patches directly via the ETM support.