通过命令查看:
[oracle@eam_db ogg]$ ldd ggsci
linux-vdso.so.1 => (0x00007ffc4a17d000)
librt.so.1 => /lib64/librt.so.1 (0x00007f0463afb000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f04638f6000)
libgglog.so => /u01/app/ogg/./libgglog.so (0x00007f04634f3000)
libggrepo.so => /u01/app/ogg/./libggrepo.so (0x00007f046327d000)
libdb-6.1.so => /u01/app/ogg/./libdb-6.1.so (0x00007f0462e98000)
libggperf.so => /u01/app/ogg/./libggperf.so (0x00007f0462c68000)
libggparam.so => /u01/app/ogg/./libggparam.so (0x00007f0461adc000)
libicui18n.so.56 => /u01/app/ogg/./libicui18n.so.56 (0x00007f046163c000)
libicuuc.so.56 => /u01/app/ogg/./libicuuc.so.56 (0x00007f046126c000)
libicudata.so.56 => /u01/app/ogg/./libicudata.so.56 (0x00007f045f409000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f045f1ec000)
libxerces-c-3.1.so => /u01/app/ogg/./libxerces-c-3.1.so (0x00007f045eb6c000)
libantlr3c.so => /u01/app/ogg/./libantlr3c.so (0x00007f045e953000)
libnnz11.so => not found
libclntsh.so.11.1 => not found
libggnnzitp.so => /u01/app/ogg/./libggnnzitp.so (0x00007f045e20a000)
libm.so.6 => /lib64/libm.so.6 (0x00007f045df07000)
libc.so.6 => /lib64/libc.so.6 (0x00007f045db44000)
/lib64/ld-linux-x86-64.so.2 (0x0000556cb43fc000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f045d92a000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f045d622000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f045d40c000)
解决方法:
在/home/oracle/.bash_profile文件加入:
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。