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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ