ogg-./ggsci ./ggsci: error while loading shared libraries: libnnz11.so:
测试环境,安装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:的更多相关文章
- 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: ...
- ggsci: error while loading shared libraries: libnnz11.so
[oracle@localhost goldengate]$ ./ggsci ./ggsci: error while loading shared libraries: libnnz11.so: c ...
- linux使用wkhtmltopdf报错error while loading shared libraries:
官网提示 linux需要这些动态库.depends on: zlib, fontconfig, freetype, X11 libs (libX11, libXext, libXrender) 在li ...
- 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 ...
- 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 ...
- 错误解决: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 ...
- 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 ...
- 【转】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 ...
- ssh 发现了error while loading shared libraries这种错
在Linux下运行程序时,发现了error while loading shared libraries这种错误,一时间不知道解决办法,在网上搜索,终于解决了: ./tests: error whil ...
随机推荐
- loj 10001 种树
*********贪心,把需要的路段终止点排序,然后在每个区间内判断是否已经满足条件,不满足的从区间右端向左端种树. #include<cstdio> #include<algori ...
- [LeetCode] 20. Valid Parentheses ☆
转载:https://leetcode.windliang.cc/leetCode-20-Valid%20Parentheses.html 描述 Given a string containing j ...
- OWASP TOP 10 2017中文译文
说明:owasp top 10其实有中文官方版本:本文是按着英文版进行翻译而成. 官方中文版:http://www.owasp.org.cn/owasp-project/OWASPTop102017v ...
- ubuntu 调节音量命令 声卡驱动
alsamixer 安装驱动http://www.realtek.com/downloads/downloadsCheck.aspx?Langid=1&PNid=24&PFid=24& ...
- js图片时间和倒计时
图片时间原理 原理:使用定时器每秒获取时间,获取时间的时,分,秒,组成一个6位数的字符串,然后用charAt,截取出对应的字符,图片命名和数字相对应就ok拉 倒计时原理 原 ...
- xml的方式配置AOP:Aspect Oriented Programming
在某些类中, 什么时机, 做什么事情 切入点(point-cut): 在某些类中(Class<?>[] itfc = new Class<?>[] { IStudentServ ...
- Java使用wait() notify()方法操作共享资源
Java多个线程共享资源: 1)wait().notify()和notifyAll()方法是本地方法,并且为final方法,无法被重写. 2)调用某个对象的wait()方法能让当前线程阻塞,并且当前线 ...
- http协议与浏览器缓存
http协议与浏览器缓存 F5刷新与在地址栏回车的区别 链接
- TTL集成门电路工作原理和电压传输特性
集成电路(Integrated Circuit 简称IC):即把电路中半导体器件,电阻,电容以及连线等制作在一块半导体基片上构成一个完整的电路,并封装到一个管壳内 集成电路的有点:体积小,重量轻,可靠 ...
- MATLAB 批量处理图片
function resizephotos(directory, wh, isrecursive, isoverwrite, savetopath, supportFormat) % resizeph ...