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

Python 3.9 /lib64/libm.so.6: version `GLIBC_2.27' not found #11

Open
wittyapps opened this issue Sep 20, 2023 · 1 comment
Open

Python 3.9 /lib64/libm.so.6: version `GLIBC_2.27' not found #11

wittyapps opened this issue Sep 20, 2023 · 1 comment

Comments

@wittyapps
Copy link

After building python 3.9 pymediainfo library I get this error message when trying to invoke the app.py Lambda function.

{"errorMessage": "Failed to load library from libmediainfo.so.0 - /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /opt/python/libmediainfo.so.0)", "errorType": "OSError", "stackTrace": [" File "/var/task/app.py", line 72, in lambda_handler\n media_info = MediaInfo.parse(tmp_filename)\n", " File "/opt/python/lib/python3.8/site-packages/pymediainfo/init.py", line 431, in parse\n lib, handle, lib_version_str, lib_version = cls._get_library(library_file)\n", " File "/opt/python/lib/python3.8/site-packages/pymediainfo/init.py", line 329, in _get_library\n raise OSError(\n"]}{
"FunctionError": "Unhandled",
"ExecutedVersion": "$LATEST",
"StatusCode": 200
}

@JonathanMorley2
Copy link

Hi @wittyapps did you find the issue with GLIBC_2.27 missing. I've run into the same issue just now.

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

No branches or pull requests

2 participants