1. Error phenomena
On the Linux server, the newly installed goldengate (OGG) is reported using the./ggsci Login Console./ggsci:error while loading GKFX libraries:libnnz11.so:cannotopen Shared object File:no such file or directory error.
2. Cause Analysis
Because the user running Ogg does not have the LD_LIBRARY_PATH environment variable set, or incorrect settings are caused.
3. Solution:
Add the LD_LIBRARY_PATH environment variable configuration information in. bash_profile, adding the following:
Export Ogg=/u01/ogg Export Ld_library_path= $ORACLE _home/lib:/u01/ogg |
Apply the new environment variable configuration:
[[email protected]]$ source. bash_profile
4. Results
./GGSCI Login Console success:
[[e Mail protected] ~]$ source. bash_profile [[email protected] ~] $ cd $OGG [[email protected] ogg]$ ./ggsci oracle GoldenGate Command interpreter for Oracle version 11.1.1.1.2 oggcore_11.1.1.1.2_platforms_111004.2100 linux, x64, 64bit (optimized), Oracle 11g on oct 4 23:49:46   copyright (C) 1995, +, Oracle and/or its affiliates. All rights reserved.   ggsci (Server2) 1> |
This article Li Junjie (Network Name: casing), engaged in "system architecture, operating systems, storage devices, databases, middleware, applications" six levels of systematic performance optimization work
Welcome to the System performance Optimization Professional group, to discuss performance optimization technology together. Group number: 258187244
Ogg Landing report cannot open shared object file error handling