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
demandé il y a 7 ans7171 vues
4 réponses
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
répondu il y a 7 ans
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
répondu il y a 7 ans
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
répondu il y a 7 ans
profile picture
EXPERT
vérifié il y a 25 jours
0

Thanks i will try and get back to you

Adithya
répondu il y a 7 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions