[英]Can't open lib '/home/user/install/os410042/var/progress/DataDirect/Connect64_for_ODBC_71/lib/ddora27.so' : file not found
We have an application which works with oracle. 我们有一个适用于oracle的应用程序。 Our application servers run in the Linux Platforms, and we have database servers running on the Windows machine.
我们的应用程序服务器在Linux平台上运行,而数据库服务器在Windows机器上运行。 We are currently testing the new Progress ODBC driver to connect the Oracle DB from Linux server.
我们目前正在测试新的Progress ODBC驱动程序,以从Linux服务器连接Oracle DB。 So i have installed the DATA DIRECT PROGRESS ORACLE ODBC DRIVER, when i try to connect i got the below error
因此,当我尝试连接时,我已经安装了数据直接进度ORACLE ODBC驱动程序,但出现以下错误
[unixODBC][Driver Manager]Can't open lib '/home/user/install/os410042/var/progress/DataDirect/Connect64_for_ODBC_71/lib/ddora27.so' : file not found [unixODBC] [驱动程序管理器]无法打开lib'/home/user/install/os410042/var/progress/DataDirect/Connect64_for_ODBC_71/lib/ddora27.so':找不到文件
below is my ODBC.ini entry , and through isql i can able to connect to the Oracle Machine , but only my application is unable to connect. 下面是我的ODBC.ini条目,通过isql我可以连接到Oracle Machine,但是只有我的应用程序无法连接。
[ODBC Data Sources]
Oracle Wire Protocol=DataDirect 7.1 Oracle Wire Protocol
ORACLE_TEST_DSN=DataDirect 7.1 Oracle Wire Protocol
[ODBC]
IANAAppCodePage=4
InstallDir=/home/user/install/os410042/var/progress/DataDirect/Connect64_for_ODBC_71
Trace=0
TraceFile=odbctrace.out
TraceDll=/home/user/install/os410042/var/progress/DataDirect/Connect64_for_ODBC_71/lib/ddtrc27.so
[ORACLE_TEST_DSN]
Driver=/home/user/install/os410042/var/progress/DataDirect/Connect64_for_ODBC_71/lib/ddora27.so
Description=DataDirect 7.1 Oracle Wire Protocol For Oracle
AlternateServers=
ApplicationUsingThreads=1
AccountingInfo=
Action=
ApplicationName=
ldd ddora27.so also fine , it doesnt show anything not found. ldd ddora27.so也很好,它不显示未找到的任何内容。
Run the DataDirect setup script to set variables: Two scripts, odbc.csh and odbc.sh, are installed in the installation directory. 运行DataDirect安装脚本来设置变量:在安装目录中安装了两个脚本odbc.csh和odbc.sh。 For Korn, Bourne, and equivalent shells, execute odbc.sh.
对于Korn,Bourne和等效的shell,执行odbc.sh。 For a C shell, execute odbc.csh.
对于C Shell,执行odbc.csh。 After running the setup script, execute the env command to verify that the ODBCHOME/lib directory has been added to your shared library path.
运行安装脚本后,执行env命令以验证ODBCHOME / lib目录已添加到共享库路径中。
Link to related documentation . 链接到相关文档 。
An application restart may be required to pick up the new shared library path. 可能需要重新启动应用程序才能选择新的共享库路径。 Once the environment is configured, you'll be able to load the drivers.
配置环境后,您将能够加载驱动程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.