error while loading shared libraries: libclntsh.so.10.1

Please check whether shlr_b12_sp4
binary is linked with libclntsh.so.10.1 or not like as following.

Please locate libclntsh.so.10.1 in your $ORACLE_HOME/lib.
As root user open file called /etc/ld.so.conf and append the entry $ORACLE_HOME/lib as like
following.

vi /etc/ld.so.conf

/u01/app/oracle/product/devang/lib/ ( Append this entry dont delete existing entries )

:wq

4.As root fire ldconfig command which would regenerate ld.so.1 with new entry which you made.
即 运行 ldconfig命令

5.Check with ldd command whether sysresv is now linked with libclntsh.so.9.0 or not as per
following.

$ldd `which sysresv`
/lib/libcwait.so (0x40001000)
libclntsh.so.10.1 => /u01/app/oracle/product/devang/lib/libclntsh.so.10.1 (0x40023000)
libnnz10.so => /u01/app/oracle/product/devang/lib/libnnz10.so (0x40dc6000)
libdl.so.2 => /lib/libdl.so.2 (0x40fca000)
libm.so.6 => /lib/libm.so.6 (0x40fce000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40ff1000)
libnsl.so.1 => /lib/libnsl.so.1 (0x41043000)
libc.so.6 => /lib/libc.so.6 (0x41057000)
/lib/ld-linux.so.2 (0x0035f000)

6.Then run sysresv command.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27003343/viewspace-732764/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/27003343/viewspace-732764/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值