当ogg软件解压,并给予正确的权限后,在启动ogg时会遇到如下报错:
[root@HWZX-DB-BI ogg]# ./ggsci
./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or directory
这里是因为缺少libnnz11.so库文件造成的,需要给出此库文件的位置,解决如下:
[Oracle@oggtest ogg]$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib
[oracle@oggtest ogg]$ ./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.26 19362036 OGGCORE_11.2.1.0.0OGGBP_PLATFORMS_140909.0853_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Sep 9 2014 13:51:14
Copyright (C) 1995, 2014, Oracle and/or its affiliates. All rights reserved.
GGSCI (oggtest) 1>
源文章来源:http://www.linuxidc.com/Linux/2015-12/126737.htm