我正在尝试安装ifx_db
(节点模块连接到informix DB
)。它在Windows中工作正常,但在Linux
我收到以下错误。
/app/node_modules/ifx_db/node_modules/bindings/bindings.js:88
throw e
^
Error: libthcli.so: cannot open shared object file: No such file or directory
at Error (native)
at Object.Module._extensions..node (module.js:597:18)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at bindings (/app/node_modules/ifx_db/node_modules/bindings/bindings.js:81:44)
at Object.<anonymous> (/app/node_modules/ifx_db/lib/odbc.js:29:31)
at Module._compile (module.js:570:32)
请求您对此提出意见 提前致谢
答案 0 :(得分:0)
供参考:
Informix node.js驱动器依赖于 Informix Client SDK版本4.10 xC2或更高版本,您需要单独下载并安装它。您可以选择最新版本的Informix CSDK 4.10xC9。
ifx_db将是一个只读存储库以供历史参考, OpenInformix 是新家; Informix node.js驱动程序的URL是
https://github.com/OpenInformix/IfxNode
OpenInformix 中的 Informix node.js 可以通过
npm install ifxnjs