红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

tora 在ubuntu上的安装

发布时间:2007-10-23 00:44:32来源:红联作者:wmbodbc
下载源:sudo apt-get source tora

配置:debian/rules文件,修改配置行为:
./configure --prefix=/usr --with-oracle=/opt/oracle10/oracle --with-oci-version=10G --with-oracle-libraries=/opt/oracle10/oracle/lib --without-rpath --disable-new-check --without-kde --enable-libsuffix=

运行:debian/rules binary

出现错误:Couldn't compile and run a simpile OCI app
checking for oracle... 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

修改类链接如下:
sudo ln -s /opt/oracle10/oracle/lib/libclntsh.so.10.1 /usr/lib/
sudo ln -s /opt/oracle10/oracle/lib/libnnz10.so /usr/lib/

再次运行 debian/rules binary
文章评论

共有 0 条评论