LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 740|回复: 0

编译TOra时,在检查 OCI works 的时候报错

[复制链接]
发表于 2007-6-8 09:17:40 | 显示全部楼层 |阅读模式
我根据Ubuntu论坛中 让Ubuntu下的Tora支持Oracle 提供的方法 编译TOra时,运行 debian/rules binary 在检查 OCI works 的时候报错,有前辈有过这样的经历吗?在网上找都是这一种方法。谢谢了,急阿。

......
checking for lrelease... /usr/bin/lrelease
checking for lupdate... /usr/bin/lupdate
checking for moc... /usr/bin/moc
checking for uic... /usr/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if STL implementation is SGI like... yes
checking for oracle... /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
checking oci works... configure: error: Couldn't compile and run a simpile OCI app.
      Try setting ORACLE_HOME or check config.log.
      Otherwise, make sure ORACLE_HOME/lib is in /etc/ld.so.conf or LD_LIBRARY_PATH
make: *** [configure-stamp] 错误 1

~/tora-1.3.21$ echo $ORACLE_HOME
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
~/tora-1.3.21$ echo $LD_LIBRARY_PATH
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib
~/tora-1.3.21$

也看到有人说仅客户端加上
--with-oracle-includes=/home/mrjohnson/instantclient/sdk/include/
--with-oracle-libraries=/home/mrjohnson/instantclient/
--with-oci-version=10G
就行了

请问这个sdk在哪找?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表