乌托邦博客

You see? Even death has a heart

« 解决Linux 终端乱码问题DataStage 7.5.2 Cluster Configuration »

DataStage 7.5.2 连接Oracle 11g

         本周在VM上反反复复安装了几遍DataStage+Oracle 11G,因为之前以为CPU不支持VT技术就安装了32位的LInux,后来找到了打开VT技术的方法,又重新安装64位的Linux,真是折腾呀!!!

          在安装完DataStage后,安装ORCH的时候,会报Unknow Oracle Version,我想其实是因为DataStage不认识这个版本,因为Oracle 11是才刚出来的.

          本想完了,可能连接不上,果然,一切配置妥当之后,问题来了:

        main_program: Error loading "orchoracle": Could not load "orchoracle": libclntsh.so.9.0: cannot open shared object file: No such file or directory.
Could not locate operator definition, wrapper, or Unix command for "orawrite"; please check that all needed libraries are preloaded, and check the PATH for the wrappers

         其实这个libclntsh.so文件就是$ORACLE_HOME\lib下面,并且我也确认配置好了的,为什么会找不到呢?其实原因很简单,根本就没有libclntsh.so.9.0这个Link,知道原因就好办啦.

         就建立个Link就好啦!

        需要注意的是,64位的Oracle 11g和32位的略有不同:

      64位的话,到$ORACLE_HOME\lib32下建立Link,32位到$ORACLE_HOME\lib下建立Link.

       Good Luck!

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Spirit Build 80710 Code detection by Codefense

Copyright 2005-2007 Bootad.cn. Some Rights Reserved
.粤ICP备07062332号 QQ:94424751