欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

ggsci: error while loading shared libraries: libnnz11.so

程序员文章站 2022-03-23 08:52:49
[oracle@localhost goldengate]$ ./ggsci ./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or dir ......

[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