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.
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/