lib 的切换问题。
现象:
/home/dbmon >sqlplus / as sysdba
/usr/lib/hpux64/dld.so: Unsatisfied data symbol 'nltrc_entry' in load module '/opt/oracle10g/product/10.2.0/lib//libnnz10.so'.
/usr/lib/hpux64/dld.so: Unsatisfied data symbol 'nltrc_exit' in load module '/opt/oracle10g/product/10.2.0/lib//libnnz10.so'.
/usr/lib/hpux64/dld.so: Unsatisfied data symbol 'nzdacvalue' in load module '/opt/oracle10g/product/10.2.0/lib//libnnz10.so'.
Killed
:/home/dbmon [db] >id
uid=115(dbmon) gid=106(dba)
:/home/dbmon [db] >
原因:
:/home/dbmon [db] >ls -l $ORACLE_HOME/lib/libodm11.so
/opt/oracle10g/product/10.2.0/lib/libodm11.so not found
:/home/dbmon [db] >env|grep LIB
LD_LIBRARY_PATH=/usr/lib:/opt/oracle11204/product/11.2.0/lib
解决方法:
:/home/dbmon [db] >export LD_LIBRARY_PATH=/usr/lib:/opt/oracle10g/product/10.2.0/lib
炊烟起了;夕阳下了;细雨来了 多调试,交互式编程体验 记录,独立思考,对比 感谢转载作者 修车 国产化 read and connect 匍匐前进, 讲故事