goldengate UNIX GGSCI需要lib包验证
goldengate UNIX GGSCI需要lib包验证在GoldenGate安装目录运行:
ldd ggsci
验证所需要的lib包,必须保证全部可以找到。
例如:下面的提示有lib包没有找到
linux-gate.so.1 => (0x00c10000)
libdl.so.2 => /lib/libdl.so.2 (0x006d2000)
libicui18n.so.38 => /u01/app/goldengate/libicui18n.so.38 (0x00110000)
libicuuc.so.38 => /u01/app/goldengate/libicuuc.so.38 (0x00cd6000)
libicudata.so.38 => /u01/app/goldengate/libicudata.so.38 (0xb74c3000)
libpthread.so.0 => /lib/libpthread.so.0 (0x006d8000)
libxerces-c.so.28 => /u01/app/goldengate/libxerces-c.so.28 (0x006f0000)
libnnz10.so => not found
libclntsh.so.10.1 => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x054b9000)
libm.so.6 => /lib/libm.so.6 (0x006a9000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00271000)
libc.so.6 => /lib/libc.so.6 (0x00561000)
/lib/ld-linux.so.2 (0x00543000)
设置相关环境变量或安装缺失的操作系统补丁,确认全部lib包可以找到,如下所示:
$ ldd ggsci
linux-gate.so.1 => (0x00af3000)
libdl.so.2 => /lib/libdl.so.2 (0x006d2000)
libicui18n.so.38 => /u01/app/goldengate/libicui18n.so.38 (0x00cb3000)
libicuuc.so.38 => /u01/app/goldengate/libicuuc.so.38 (0x0090e000)
libicudata.so.38 => /u01/app/goldengate/libicudata.so.38 (0xb74d1000)
libpthread.so.0 => /lib/libpthread.so.0 (0x006d8000)
libxerces-c.so.28 => /u01/app/goldengate/libxerces-c.so.28 (0x00110000)
libnnz10.so => /u01/app/oracle/product/10.2.0/db_1/lib/libnnz10.so (0x006f0000)
libclntsh.so.10.1 => /u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1 (0x00e14000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x054b9000)
libm.so.6 => /lib/libm.so.6 (0x006a9000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x004bd000)
libc.so.6 => /lib/libc.so.6 (0x00561000)
/lib/ld-linux.so.2 (0x00543000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00a54000)
页:
[1]