当前位置: 首页 > 工具软件 > Tora > 使用案例 >

tora 在ubuntu上的安装

尹赞
2023-12-01
下载源: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
 类似资料: