Following error might encountered while initializing
ggsci prompt for Oracle Golden Gate
[oracle@oraprm ogg_1]$ . /ggsci
. /ggsci : error while loading shared libraries: libnnz11.so:
cannot open shared object file : No such file or directory
|
This error is encountered as ggsci is unable to locate lib files which are available under database ORACLE_HOME. This error can be avoided by
Set LD_LIBRARY_PATH to point to "lib" directory under database ORACLE_HOME
[oracle@orapm ogg_1]$ cd $HOME
[oracle@orapm ogg_1]$ gedit .bash_profile
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
[oracle@oraprm ogg_1]$ . /ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO
Linux, x86, 32bit (optimized), Oracle 11g on Apr 23 2012 08:09:25
Copyright (C) 1995, 2012, Oracle and /or its affiliates. All rights reserved.
GGSCI (oraprm.localdomain) 1>
|