[英]cx_Oracle and Lambda Layer error - aws lambda cannot locate a 64-bit oracle client library
I created the lambda layer using cx_oracle and oracle-instantclient.我使用 cx_oracle 和 oracle-instantclient 创建了 lambda 层。 Created the lambda layer and am able import the cx_oracle but it is always gives me an error like 64-bit oracle client library is missing.
创建了 lambda 层并能够导入 cx_oracle,但它总是给我一个错误,如 64 位 oracle 客户端库丢失。 below is my folder structure
下面是我的文件夹结构
There could be several root causes of this issue.这个问题可能有几个根本原因。
LD_LIBRARY_PATH
pointing to the place where the libs are placed.LD_LIBRARY_PATH
。 You can update it on the lambda page in AWS console./opt
folder provide the path where the module with libs is installed./opt
文件夹中,请提供安装带有 libs 的模块的路径。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.