./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such
来源:互联网 发布:一般淘宝客服上班时间 编辑:程序博客网 时间:2024/06/07 06:32
今天在oracle rac 安装ogg的时候,执行ggsci报如下的错位:
+ASM1:/ogg@rac1>./ggsci
./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or directory
+ASM1:/ogg@rac1>
从上面的输出可以看出,运行ggsci工具找不到libnnz11.so和libclntsh.so.11.1共享库文件。该共享库文件是通过LD_LIBRARY_PATH环境变量指定的,指定的位置应该是$ORACLE_HOME/lib。
+ASM1:/ogg@rac1>echo $LD_LIBRARY_PATH
+ASM1:/ogg@rac1>
设置LD_LIBRARY_PATH,在.bash_profie 里添加:
xport LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32/:/usr/lib:/usr/lib64:/usr/local/lib:/lib:/lib64
再次执行
+ASM1:/ogg@rac1>source ~/.bash_profile
+ASM1:/ogg@rac1>echo $LD_LIBRARY_PATH
/u01/app/11.2.0/grid_1/lib:/u01/app/11.2.0/grid_1/lib32/:/usr/lib:/usr/lib64:/usr/local/lib:/lib:/lib64
+ASM1:/ogg@rac1>./ggsci
+ASM1:/ogg@rac1>echo $LD_LIBRARY_PATH
/u01/app/11.2.0/grid_1/lib:/u01/app/11.2.0/grid_1/lib32/:/usr/lib:/usr/lib64:/usr/local/lib:/lib:/lib64
+ASM1:/ogg@rac1>./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Dec 12 2015 00:54:38
Operating system character set identified as UTF-8.
Version 12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Dec 12 2015 00:54:38
Operating system character set identified as UTF-8.
Copyright (C) 1995, 2015, Oracle and/or its affiliates. All rights reserved.
GGSCI (rac1) 1>
0 0
- ./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such
- ./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such
- ./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such
- error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
- error while loading shared libraries: libXXX.so.x: cannot open shared object file: No such file
- error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file.....
- error while loading shared libraries: libiw.so.29: cannot open shared object file: No such file
- error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file
- error while loading shared libraries: XXX.so: cannot open shared object file: No such file...
- jps: error while loading shared libraries: libjli.so: cannot open shared object file: No such file..
- error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
- error while loading shared libraries: libcudart.so.6.5: cannot open shared object file: No such file
- Error: while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file
- error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file
- error while loading shared libraries: libcudart.so.8.0: cannot open shared object file: No such file
- error while loading shared libraries: libcudart.so.7.5: cannot open shared object file: No such file
- error while loading shared libraries: libmkl_rt.so: cannot open shared object file: No such file or
- aapt: error while loading shared libraries: libc++.so: cannot open shared object file: No such file
- 遍历Map的四种方式
- Node.js开发者必须熟悉的四个JavaScript概念
- Mybatis 3学习笔记(一)
- 特征值
- 防止高并发的安全接口设计
- ./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such
- 高可用的大数据计算平台如何持续发布和演进
- java内存溢出(ava.lang.OutOfMemoryError)解决方法
- Python2 math 小记
- 资料记录-Facebook
- Sublime Text3 快捷键汇总及设置快捷键配置环境变量
- linux病毒分析
- 1821 最优集合
- NSIS软件打包 脚本代码详解