$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Ubuntu 17.10 How to Fix Oracle 12c Database R1 Libraries Linking Issues

May 7, 2018 | By the+gnu+linux+evangelist.

Ubuntu 17.10 How to Fix Oracle 12c Database R1 Libraries Linking




Hi! The Tutorial shows you Step-by-Step How to Solve the Oracle 12c Database Installation on Ubuntu 17.10 Artful Amd64 GNU/Linux.

Now you have 2 Choices for Solving Oracle 12c Database Ubuntu 17.10 Installation Issue:

  • Download & Execute Fixing Script

  • Execute One by One the Commands on Terminal

Ubuntu 17.10 How to Fix Oracle 12c Database R1 Libraries Linking Issue - Featured
  • Download and Execute Script.

    1. Download Oracle 12c DB R1 Fixing Script

      Grab Oracle 12c R1 Script

      Grab fixOracle12DbR1LibLink.sh

    2. sudo sh ./fixOracle12DbR1LibLink.sh
  • Manually Executing Commands on Shell.

    export $ORACLE_HOME=/u01/app/oracle/product/12/dbhome_1

    Modify the Above Value if you Installed into another Path…

    sudo ln -s $ORACLE_HOME/lib/libclntshcore.so.12.1 /usr/lib
    sudo ln -s $ORACLE_HOME/lib/libclntsh.so.12.1 /usr/lib
    cp $ORACLE_HOME/rdbms/lib/ins_rdbms.mk $ORACLE_HOME/rdbms/lib/ins_rdbms.bkp
    cp $ORACLE_HOME/rdbms/lib/env_rdbms.mk $ORACLE_HOME/rdbms/lib/env_rdbms.bkp
    sed -i 's/\$(ORAPWD_LINKLINE)/\$(ORAPWD_LINKLINE) -lnnz12/' $ORACLE_HOME/rdbms/lib/ins_rdbms.mk
    sed -i 's/\$(HSOTS_LINKLINE)/\$(HSOTS_LINKLINE) -lagtsh/' $ORACLE_HOME/rdbms/lib/ins_rdbms.mk
    sed -i 's/\$(EXTPROC_LINKLINE)/\$(EXTPROC_LINKLINE) -lagtsh/' $ORACLE_HOME/rdbms/lib/ins_rdbms.mk
    sed -i 's/\$(OPT) $(HSOTSMAI)/\$(OPT) -Wl,--no-as-needed $(HSOTSMAI)/' $ORACLE_HOME/rdbms/lib/env_rdbms.mk
    sed -i 's/\$(OPT) $(HSDEPMAI)/\$(OPT) -Wl,--no-as-needed $(HSDEPMAI)/' $ORACLE_HOME/rdbms/lib/env_rdbms.mk
    sed -i 's/\$(OPT) $(EXTPMAI)/\$(OPT) -Wl,--no-as-needed $(EXTPMAI)/' $ORACLE_HOME/rdbms/lib/env_rdbms.mk
    sed -i 's/^\(TNSLSNR_LINKLINE.*$(TNSLSNR_OFILES)\) \($(LINKTTLIBS)\)/\1 -Wl,--no-as-needed /g' $ORACLE_HOME/network/lib/env_network.mk
    sed -i 's/\$(SPOBJS) $(LLIBSERVER)/\$(SPOBJS) -Wl,--no-as-needed $(LLIBSERVER)/' $ORACLE_HOME/rdbms/lib/env_rdbms.mk
    sed -i 's/\$(S0MAIN) $(SSKFEDED)/\$(S0MAIN) -Wl,--no-as-needed $(SSKFEDED)/' $ORACLE_HOME/rdbms/lib/env_rdbms.mk
    sed -i 's/\$(S0MAIN) $(SSKFODED)/\$(S0MAIN) -Wl,--no-as-needed $(SSKFODED)/' $ORACLE_HOME/rdbms/lib/env_rdbms.mk
    sed -i 's/\$(S0MAIN) $(SSKFNDGED)/\$(S0MAIN) -Wl,--no-as-needed $(SSKFNDGED)/' $ORACLE_HOME/rdbms/lib/env_rdbms.mk
    sed -i 's/\$(S0MAIN) $(SSKFMUED)/\$(S0MAIN) -Wl,--no-as-needed $(SSKFMUED)/' $ORACLE_HOME/rdbms/lib/env_rdbms.mk
    sed -i 's/^\(ORACLE_LINKLINE.*$(ORACLE_LINKER)\) \($(PL_FLAGS)\)/\1 -Wl,--no-as-needed /g' $ORACLE_HOME/rdbms/lib/env_rdbms.mk
    sed -i 's/\$LD $LD_RUNTIME/$LD -Wl,--no-as-needed $LD_RUNTIME/' $ORACLE_HOME/bin/genorasdksh
    sed -i 's/\$(GETCRSHOME_OBJ1) $(OCRLIBS_DEFAULT)/\$(GETCRSHOME_OBJ1) -Wl,--no-as-needed $(OCRLIBS_DEFAULT)/' $ORACLE_HOME/srvm/lib/env_srvm.mk