How to solve this Glibc 2.22 version not found on amazon Lambda

0

/lib64/libc.so.6: version `GLIBC_2.22' not found (required by /var/task/pyhull/_pyhull.so)
How to solve this error .Any help please ?

Adithya
已提问 7 年前7171 查看次数
4 回答
0

The OS Lambda uses for it's containers is essentially a recent Amazon linux. If a library was built on a different platform, it can get linking errors like that. Try rebuilding that package and any other compiled parts of your lambda on an Amazon Linux box.

Ellison
已回答 7 年前
0

I tried to compile the zip on amazon ec2 server.
then when i run on lambda i get this error .
libffi-d77877bc.so.6.0.4: cannot open shared object file: No such file or directory

Edited by: Adithya on Oct 5, 2017 1:32 AM

Edited by: Adithya on Oct 5, 2017 1:33 AM

Adithya
已回答 7 年前
0

Then your build becomes more complicated. You have a dependency on libffi, which means you needed to install it to compile your dependencies. However, you'll also need that library to run your packages, which means you need to bundle it with your package, as It wasn't installed by default, and lambda runs a default Amazon Linux image. This will occur for all dependencies that you needed to install during compilation.

Ellison
已回答 7 年前
profile picture
专家
已审核 25 天前
0

Thanks i will try and get back to you

Adithya
已回答 7 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则