-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
GLIBC Version is not supported to install Libsql extension of php. #1888
Comments
This probably can't be resolved until the Amazon Linux 2023 upgrade project is completed. |
Unless you can build the extension yourself linked against an older version of glibc, assuming the code compiles against that version. |
Ah that's too bad, I find Turso interesting for Lambda, I wish it could work before we move to AL2023… |
This is worth exploring, still. ;) |
Right, I don't think I'll have the time myself to dive into that for now 🥲 |
It might be best to open an issue with Turso, @rijalsubash. |
A Google search brings me here: https://stackoverflow.com/questions/57749127/how-can-i-specify-the-glibc-version-in-cargo-build-for-rust. |
Description:
I am trying to use bref with Turso Database, which use Libsql extension.
I am using this extension. https://github.com/tursodatabase/turso-client-php/releases/tag/turso-php-extension-v1.4.0. which requires GLIBC_2.29 but bref docker image has GLIBC_2.27.
it throws following error
PHP Warning: PHP Startup: Unable to load dynamic library 'liblibsql_php' (tried: /opt/bref/extensions/liblibsql_php (/opt/bref/extensions/liblibsql_php: cannot open shared object file: No such file or directory), /opt/bref/extensions/liblibsql_php.so (/lib64/libm.so.6: version
GLIBC_2.29' not found (required by /opt/bref/extensions/liblibsql_php.so)))`How to reproduce:
Here is my DockerFile
and here is my php ini.
The text was updated successfully, but these errors were encountered: