sqlite-ecosystem icon indicating copy to clipboard operation
sqlite-ecosystem copied to clipboard

`linux-x86_64` support for Amazon Linux, on GLIBC 2.26

Open asg017 opened this issue 1 year ago • 1 comments

Linux x86_64 builds are made on Github Action runners. Current Github Action's lowest Ubuntu runner is ubuntu-20.04, which has a GLIBC of GLIBC_2.28.

Amazon Linux, however, is chaotically on GLIBC_2.26.

On linux loading dynamic libraries with a lower GLIBC works, but loading a high GLIBC fails with an error mesage like /lib64/libc.so.6: version GLIBC_2.28’ not found (required by /var/task/sqlite_ulid/ulid0.so). I used to be able to run the build action on Github runner ubuntu-18.04`, but it's now deprecated.

This means the SQLite extensions wont work on AWS lambda (therefore vercel) and other platforms that use AWS linux.

The solution to fix this is to build actions on a custom Dockerfile using unbuntu:18.04. It shouldn't be hard (getting Rust to work on that old OS sounds fun but probably not too difficult), but will require a new PR across all my extensions. It's possible, but will take time.

  • [ ] sqlite-http
  • [ ] sqlite-html
  • [ ] sqlite-lines
  • [ ] sqlite-path
  • [ ] sqlite-url
  • [ ] sqlite-xsv
  • [ ] sqlite-regex
  • [ ] sqlite-ulid
  • [ ] sqlite-jsonschema
  • [ ] sqlite-fastrand
  • [ ] sqlite-vss

asg017 avatar Apr 17 '23 20:04 asg017