Monday, 15 November 2021

ggsci - ./ggsci: error while loading shared libraries: libnnz19.so: cannot open shared object file: No such file or directory

  •  Scenario: Getting error after installing GG 19c first time linux 64 machine 

[oracle@srv3 sourcegg1]$ ./ggsci

./ggsci: error while loading shared libraries: libnnz19.so: cannot open shared object file: No such file or directory

  • Solution :  Add GG_HOME and  LD_LIBRARY_PATH on bash_profile 

[oracle@srv3 ~]$ vi .bash_profile

# Get the aliases and functions


if [ -f ~/.bashrc ]; then


        . ~/.bashrc


fi


umask 022


export ORACLE_BASE=/u01/app/oracle


export ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1


export ORACLE_HOME_LISTNER=$ORACLE_HOME/network/admin


export TNS_ADMIN=$ORACLE_HOME/network/admin


#$LD_LIBRARY_PATH


GG_HOME=/u01/app/oracle/product/sourcegg1; export GG_HOME


export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$GG_HOME


export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH


export PATH=$PATH:$ORACLE_HOME/bin


export ORACLE_SID=smrrac1


#NLS_DATE_FORMAT=Mon DD YYYY HH24:MI:SS; export NLS_DATE_FORMAT


ORATAB=/etc/oratab;export ORATAB

[oracle@srv3 ~]$

  • Execute changes in bash_profile and start ggsci again 

[oracle@srv3 ~]$ source ~/.bash_profile

[oracle@srv3 ~]$ cd $GG_HOME


[oracle@srv3 sourcegg1]$ ./ggsci

Oracle GoldenGate Command Interpreter for Oracle

Version 19.1.0.0.4 OGGCORE_19.1.0.0.0_PLATFORMS_191017.1054_FBO

Linux, x64, 64bit (optimized), Oracle 19c on Oct 17 2019 21:16:29

Operating system character set identified as UTF-8.


Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.


GGSCI (srv3.example.com) 1>



GGSCI (srv3.example.com) 1> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING


GGSCI (srv3.example.com) 2>

No comments:

Post a Comment