测试环境,安装linux 0gg,解压介质后./ggsci无法使用,提示目录不存在

原来是环境变量导致的问题:

1.报错现象

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

2.问题排查

[ogg@enmo ogg]$ ldd ggsci
linux-vdso.so. => (0x00007fff145da000)
libdl.so. => /lib64/libdl.so. (0x0000003763e00000)
libgglog.so => /home/ogg/ogg/libgglog.so (0x00007f08f716e000)
libggrepo.so => /home/ogg/ogg/libggrepo.so (0x00007f08f701a000)
libdb-5.2.so => /home/ogg/ogg/libdb-5.2.so (0x00007f08f6d79000)
libicui18n.so. => /home/ogg/ogg/libicui18n.so. (0x00007f08f6a18000)
libicuuc.so. => /home/ogg/ogg/libicuuc.so. (0x00007f08f66df000)
libicudata.so. => /home/ogg/ogg/libicudata.so. (0x00007f08f5703000)
libpthread.so. => /lib64/libpthread.so. (0x0000003764200000)
libxerces-c.so. => /home/ogg/ogg/libxerces-c.so. (0x00007f08f51eb000)
libantlr3c.so => /home/ogg/ogg/libantlr3c.so (0x00007f08f50d5000)
libnnz11.so => not found
libclntsh.so.11.1 => not found
libstdc++.so. => /usr/lib64/libstdc++.so. (0x0000003776400000)
libm.so. => /lib64/libm.so. (0x0000003763a00000)
libgcc_s.so. => /lib64/libgcc_s.so. (0x0000003772c00000)
libc.so. => /lib64/libc.so. (0x0000003763600000)
/lib64/ld-linux-x86-.so. (0x0000003763200000)
[ogg@enmo ogg]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2./dbhome_1
[ogg@enmo ogg]$ echo $LD_LIBRARY_PATH
/u01/app/oracle/product/11.2./dbhome_1/lib
[ogg@enmo ogg]$ cd /u01/app/oracle/product/11.2./dbhome_1/lib
-bash: cd: /u01/app/oracle/product/11.2./dbhome_1/lib: No such file or directory
[ogg@enmo ogg]$ env|grep ORACLE_HOME
ORACLE_HOME=/u01/app/oracle/product/11.2./dbhome_1
[ogg@enmo ogg]$ env|grep LD_LIBRARY_PATH
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2./dbhome_1/lib
enmo:/11.2.0.4/app/oracle/product/11.2./db_1env|grep ORACLE_HOME
ORACLE_HOME=/11.2.0.4/app/oracle/product/11.2./db_1
enmo:/11.2.0.4/app/oracle/product/11.2./db_1env|grep LD_LIBRARY_PATH
LD_LIBRARY_PATH=/11.2.0.4/app/oracle/product/11.2./db_1/lib:/usr/lib

3.调整

OGG,old

export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2./dbhome_1
export ORACLE_SID=t2
export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:/home/ogg/ogg
export LD_LIBRARY_PATH=$ORACLE_HOME/lib

OGG,new

export ORACLE_BASE=/11.2.0.4/app/oracle
export ORACLE_HOME=/11.2.0.4/app/oracle/product/11.2./db_1

ogg-./ggsci ./ggsci: error while loading shared libraries: libnnz11.so:的更多相关文章

  1. ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file

    完整的错误信息如下: ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: ...

  2. ggsci: error while loading shared libraries: libnnz11.so

    [oracle@localhost goldengate]$ ./ggsci ./ggsci: error while loading shared libraries: libnnz11.so: c ...

  3. linux使用wkhtmltopdf报错error while loading shared libraries:

    官网提示 linux需要这些动态库.depends on: zlib, fontconfig, freetype, X11 libs (libX11, libXext, libXrender) 在li ...

  4. python3: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory

    安装python3遇到报错: wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz ./configure --prefix=/u ...

  5. error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory

    zabbix3.2启动有如下报错: # service zabbix_server startStarting zabbix_server:  /home/zabbix-server/sbin/zab ...

  6. 错误解决:error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory

    执行以下代码,生成唯一的UID $fp = popen("/xxx/bin/tools/uuidgen system", "r");// $uid = frea ...

  7. ebs r12 -- adadmin: error while loading shared libraries: libclntsh.so.10.1

    安装EBS R12.2增加中文字符集时,运行$AU_TOP/bin/adadmin出错: $ adadmin adadmin: error while loading shared libraries ...

  8. 【转】error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory

    错误信息: /usr/local/memcacheq/bin/memcacheq: error while loading shared libraries: libevent-2.0.so.5: c ...

  9. ssh 发现了error while loading shared libraries这种错

    在Linux下运行程序时,发现了error while loading shared libraries这种错误,一时间不知道解决办法,在网上搜索,终于解决了: ./tests: error whil ...

随机推荐

  1. Echarts 简单报表系列四:雷达图

    代码如下: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF ...

  2. POJ - 题解sol[暂停更新]

    初期:一.基本算法: (1)枚举. (poj1753,poj2965) poj1753 话说我用高斯消元过了这题... poj2965 巧了,用高斯消元01矩阵更快(l o l). (2)贪心(poj ...

  3. 一、ZooKeeper学习

    一.什么是ZooKeeper? ZooKeeper是一个分布式应用的开源协调服务.目的就是给用户提供同步.配置管理.分组和命名等服务.是Java语言编写的,支持Java和C两种语言.通俗的讲,它就是用 ...

  4. Spring AOP+Log4j记录项目日志

    转载请注明出处:http://www.cnblogs.com/Joanna-Yan/p/6567672.html 项目日志记录是项目开发.运营必不可少的内容,有了它可以对系统有整体的把控,出现任何问题 ...

  5. Author and Submission Instructions

    This document contains information about the process of submitting a paper to NIPS 2014. You can als ...

  6. 学习笔记-AngularJs(三)

    学习笔记-AngularJs(二)写了个所有程序语言入门时都必须要写的Hello World,那么从现在开始做那个之前说过的互联网大佬介绍的学习例子,当然这里开始会慢慢按照之前说过的目录来搭建这个学习 ...

  7. liunx文件操作 文件查看

    文件的阅读命令 head 命令 head命令可以用来查看文件的开头部分,命令的格式是: head 文件名 默认设置,它只查看文件的前10行.但可以通过指定一个数字选项来改变要显示的行数,命令如下 he ...

  8. learning ddr mode register MR0

  9. unity中自制模拟第一人称视角

    public float sensitivityX = 5f; public float sensitivityY = 5f; public float sensitivetyKeyBoard = 0 ...

  10. Mysql InnoDB三大特性-- 自适应hash index

    Mysql InnoDB三大特性-- 自适应hash index