标签: node.js aws-lambda oracledb-npm node-oracledb
我正在使用连接到Oracle RDS的NodeJS函数。但是我收到错误DPI-1047: 64-bit Oracle Client library cannot be loaded: "libaio.so.1: cannot open shared object file: No such file or directory
DPI-1047: 64-bit Oracle Client library cannot be loaded: "libaio.so.1: cannot open shared object file: No such file or directory
我正在遵循部署程序包的结构 instant_client_12.1 node_modules index.js
instant_client_12.1 node_modules index.js
答案 0 :(得分:0)
libaio.so.1是否在软件包的/ lib目录中,您已部署到Lambda?
libaio.so.1
对于Lambda的Env变量,可以在控制台中进行设置:
...或using CloudFormation