osohq / oso

Deprecated: See README
Apache License 2.0
3.47k stars 177 forks source link

Amazon Linux 2 support dropped due to glibc >= 2.28 requirement #1694

Open dannyfallon opened 1 year ago

dannyfallon commented 1 year ago

Amazon Linux 2 has a maximum glibc version of 2.26. There's no intention to update this and instead Amazon are pushing Amazon Linux 2023 which recently went generally available.

Recent Oso versions require glibc >= 2.28:

LoadError: Could not open library '/tmp/app/vendor/bundle/ruby/3.2.0/gems/oso-oso-0.26.4/ext/oso-oso/lib/libpolar.so':.../lib64/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/app/vendor/bundle/ruby/3.2.0/gems/oso-oso-0.26.4/ext/oso-oso/lib/libpolar.so)

Is this a deliberate change or is there a chance you might be able to support a lower GLIBC version to allow Amazon Linux 2 users to continue to upgrade past 0.21.0 (what we're using).

patrickod commented 1 year ago

hey @dannyfallon 👋🏻 this wasn't a deliberate change on our part, rather I think a result of the ubuntu:latest target that we use in our build environments incrementing. I think we can pin to the older Ubuntu release in future builds such that this glibc issue is resolved.