gpt4 book ai didi

linux - ISQL 命令结果为 : can't open lib 'odbcci.so' with unixODBC and Pervasive Client on Ubuntu Linux

转载 作者:太空狗 更新时间:2023-10-29 12:34:58 26 4
gpt4 key购买 nike

我不知道如何通过 ODBC 从 Ubuntu Linux 64 位连接到 Windows Server 机器上的 Pervasive DB

我安装了 unixodbc,然后是来自 here32bit Pervasive Client 11sp2在将 tar 内容移动到 /usr/local/psql 并执行 clientpreinstall.shclientpostinstall.sh 我做了 dsnadd 命令,添加 dba 源。

现在,如果我尝试使用 isql -v dba 测试 ODBC 连接,我会得到以下信息:

[ISQL]ERROR: Could not SQLConnect [01000][unixODBC][Driver Manager]Can't open lib '/usr/local/psql/lib/odbcci.so' : file not found

odbcci.so 存在于该目录中。

我应该怎么做才能让它发挥作用?

最佳答案

这与另一个问题中的问题类似: Pervasive ODBC on Linux Error [01000][unixODBC][Driver Manager]Can't open lib '/usr/local/psql/lib/odbcci.so' : file not found

答案是您需要以用户 psql 的身份运行,它是由 Pervasive 安装脚本创建的,或者在安装之前从该用户的家中获取 .bashrc尝试 ODBC 连接。

关于linux - ISQL 命令结果为 : can't open lib 'odbcci.so' with unixODBC and Pervasive Client on Ubuntu Linux,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14284711/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com