ggsci: error while loading shared libraries: libnnz11.so

[oracle@localhost goldengate]$ ./ggsci
./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or directory

[oracle@localhost goldengate]$ ldd ggsci
linux-vdso.so.1 => (0x00007fff5369c000)
librt.so.1 => /lib64/librt.so.1 (0x00007fa20f352000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fa20f14d000)
libgglog.so => /home/oracle/goldengate/./libgglog.so (0x00007fa20ed85000)
libggrepo.so => /home/oracle/goldengate/./libggrepo.so (0x00007fa20eb19000)
libdb-5.2.so => /home/oracle/goldengate/./libdb-5.2.so (0x00007fa20e87d000)
libggperf.so => /home/oracle/goldengate/./libggperf.so (0x00007fa20e64f000)
libicui18n.so.48 => /home/oracle/goldengate/./libicui18n.so.48 (0x00007fa20e341000)
libicuuc.so.48 => /home/oracle/goldengate/./libicuuc.so.48 (0x00007fa20e0c2000)
libicudata.so.48 => /home/oracle/goldengate/./libicudata.so.48 (0x00007fa20c9fd000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa20c7e0000)
libxerces-c.so.28 => /home/oracle/goldengate/./libxerces-c.so.28 (0x00007fa20c2c8000)
libantlr3c.so => /home/oracle/goldengate/./libantlr3c.so (0x00007fa20c1b2000)
libnnz11.so => not found
libclntsh.so.11.1 => not found
libggnnzitp.so => /home/oracle/goldengate/./libggnnzitp.so (0x00007fa20ba58000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fa20b752000)
libm.so.6 => /lib64/libm.so.6 (0x00007fa20b4cd000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fa20b2b7000)
libc.so.6 => /lib64/libc.so.6 (0x00007fa20af24000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa20f564000)

[oracle@localhost lib]$ cd $ORACLE_HOME/lib
[oracle@localhost lib]$ ls -l libnnz11.so
-rwxr-xr-x. 1 oracle oinstall 7980109 Aug 26 2016 libnnz11.so
[oracle@localhost lib]$ ls -l libclntsh.so.11.1
-rwxr-xr-x. 1 oracle oinstall 53819046 Dec 16 2016 libclntsh.so.11.1
[oracle@master lib]$ ln -s /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so /home/oracle/goldengate/./libnnz11.so
[oracle@master lib]$ ln -s /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1 /home/oracle/goldengate/./libclntsh.so.11.1

[oracle@localhost lib]$ cd /home/oracle/goldengate
[oracle@localhost goldengate]$ ./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 12.1.2.1.0 OGGCORE_12.1.2.1.0_PLATFORMS_140727.2135.1_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Aug 7 2014 09:14:25
Operating system character set identified as UTF-8.
Copyright (C) 1995, 2014, Oracle and/or its affiliates. All rights reserved.
GGSCI (localhost.localdomain) 1>

至此OK

posted @ 2018-10-25 17:34  ritchy  阅读(2256)  评论(0编辑  收藏  举报