Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find the right pyarrow version for my GLIBC version (AWS Lambda) #38373

Closed
nk-fouque opened this issue Oct 20, 2023 · 4 comments
Closed

Find the right pyarrow version for my GLIBC version (AWS Lambda) #38373

nk-fouque opened this issue Oct 20, 2023 · 4 comments

Comments

@nk-fouque
Copy link

Describe the usage question you have. Please include as many useful details as possible.

Hi, I am using pyarrow as a dependency of another library in my project running on AWS Lambda.
Sadly, when I try to run my lambda I get the error lib64/libm.so.6: version 'GLIBC_2.27' not found (required by /mnt/efs/site-packages/pyarrow/libarrow.so.1300)",
Indeed AWS Lambda documentation specifies here that the AmazonLinux 2 image only comes with glibc 2.26.
I am trying to figure out how much I have to downgrade pyarrow to find the right version that uses glibc 2.26 but I can't find any indications on the matter.
Help would be appreciated.

Component(s)

Continuous Integration, Python

@raulcd
Copy link
Member

raulcd commented Oct 20, 2023

Hi,

We did drop support for Amazon Linux 2 on 13.0.0, see: #36241
On Arrow 12.0.0 Amazon Linux 2 was still supported.

We added support for Amazon Linux 2023 on 13.0.0, see: #36006

edit: added some minor clarifications

@nk-fouque
Copy link
Author

Thanks, that version worked with no problem.

@meze-pomelo
Copy link

I get the same error.
I fix it declaring the next versions

pyarrow == 12.0.1
boto3 == 1.26.76
botocore == 1.29.76

Context: Amazon Linux 2, with python 3.8

@monkeyZhy
Copy link

But my system has GLIBC version 2.17, what version of pyarrow supports it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants