Missing Shared Libraries libnnz12.so
Saw an error when I tried to get into Oracle GoldenGate Software Command Interface (GGSCI) after installation.
[oracle@ora12c1 ~]$ cd $OGG_HOME
[oracle@ora12c1 ogg]$ ./ggsci
./ggsci: error while loading shared libraries: libnnz12.so: cannot open shared object file: No such file or directory
GoldenGate put all necessary shared objects (.so files) under its own home directory, but several shared objects may not be found there, such as libnnz12.so, libclntsh.so.12.1, libons.so, libclntshcore.so.12.1.
You have to borrow the libraries from Oracle home by setting LD_LIBRARY_PATH environment variable correctly. Because GoldenGate expects you to do so.
[oracle@ora12c1 ogg]$ vi ~/.bash_profile
[oracle@ora12c1 ogg]$ . ~/.bash_profile
As you can see, we include $ORACLE_HOME/lib, $OGG_HOME as our library sources to solve the problem.
No more ./ggsci: error while loading shared libraries: libnnz12.so